Correct sensor restore entity in modbus (#87563)
* Correct sensor restore entity. * Review comments.
This commit is contained in:
parent
cc564026fa
commit
b9b5a279f2
2 changed files with 11 additions and 7 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue