Add transition support to scenes, cleanup blocking parameter (#34434)
This commit is contained in:
1 parent
19be31d13a
commit
bc5a2da7b7
66 files changed
+547
-229
No files matched your search
@@ -18,7 +18,6 @@ async def test_reproducing_states(hass, caplog):
|
||||
State("lock.entity_locked", "locked"),
|
||||
State("lock.entity_unlocked", "unlocked", {}),
|
||||
],
|
||||
blocking=True,
|
||||
)
|
||||
|
||||
assert len(lock_calls) == 0
|
||||
@@ -26,7 +25,7 @@ async def test_reproducing_states(hass, caplog):
|
||||
|
||||
# Test invalid state is handled
|
||||
await hass.helpers.state.async_reproduce_state(
|
||||
[State("lock.entity_locked", "not_supported")], blocking=True
|
||||
[State("lock.entity_locked", "not_supported")]
|
||||
)
|
||||
|
||||
assert "not_supported" in caplog.text
|
||||
@@ -41,7 +40,6 @@ async def test_reproducing_states(hass, caplog):
|
||||
# Should not raise
|
||||
State("lock.non_existing", "on"),
|
||||
],
|
||||
blocking=True,
|
||||
)
|
||||
|
||||
assert len(lock_calls) == 1
|
||||
|
||||
Reference in new issue
Block a user