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
@@ -24,15 +24,14 @@ async def test_reproducing_states(hass, caplog):
|
||||
"8",
|
||||
{"initial": 12, "minimum": 5, "maximum": 15, "step": 3},
|
||||
),
|
||||
],
|
||||
blocking=True,
|
||||
]
|
||||
)
|
||||
|
||||
assert len(configure_calls) == 0
|
||||
|
||||
# Test invalid state is handled
|
||||
await hass.helpers.state.async_reproduce_state(
|
||||
[State("counter.entity", "not_supported")], blocking=True
|
||||
[State("counter.entity", "not_supported")]
|
||||
)
|
||||
|
||||
assert "not_supported" in caplog.text
|
||||
@@ -49,8 +48,7 @@ async def test_reproducing_states(hass, caplog):
|
||||
),
|
||||
# Should not raise
|
||||
State("counter.non_existing", "6"),
|
||||
],
|
||||
blocking=True,
|
||||
]
|
||||
)
|
||||
|
||||
valid_calls = [
|
||||
|
||||
Reference in new issue
Block a user