Add transition support to scenes, cleanup blocking parameter (#34434)

This commit is contained in:
Franck Nijhof 2020-04-21 03:07:50 +02:00 committed by GitHub
parent 19be31d13a
commit bc5a2da7b7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
66 changed files with 547 additions and 229 deletions

View file

@ -29,7 +29,6 @@ async def test_reproducing_states(hass, caplog):
State("input_datetime.entity_time", "01:20:00"),
State("input_datetime.entity_date", "2010-10-10"),
],
blocking=True,
)
assert len(datetime_calls) == 0
@ -42,7 +41,6 @@ async def test_reproducing_states(hass, caplog):
State("input_datetime.entity_datetime", "not:valid:time"),
State("input_datetime.entity_datetime", "1234-56-78 90:12:34"),
],
blocking=True,
)
assert "not_supported" in caplog.text
@ -60,7 +58,6 @@ async def test_reproducing_states(hass, caplog):
# Should not raise
State("input_datetime.non_existing", "2010-10-10 01:20:00"),
],
blocking=True,
)
valid_calls = [