mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 12:59:34 +00:00
Correct sensor restore entity in modbus (#87563)
* Correct sensor restore entity. * Review comments.
This commit is contained in:
@@ -894,7 +894,7 @@ async def test_wrap_sensor(hass, mock_do_cycle, expected):
|
||||
|
||||
@pytest.mark.parametrize(
|
||||
"mock_test_state",
|
||||
[(State(ENTITY_ID, "117"), State(f"{ENTITY_ID}_1", "119"))],
|
||||
[(State(ENTITY_ID, "unknown"), State(f"{ENTITY_ID}_1", "119"))],
|
||||
indirect=True,
|
||||
)
|
||||
@pytest.mark.parametrize(
|
||||
|
||||
Reference in New Issue
Block a user