Revert to using call_soon for event triggers and state changed event trackers (#122735)
This commit is contained in:
parent
869ec3f670
commit
1879db9f8f
9 changed files with 233 additions and 6 deletions
|
@ -3229,6 +3229,7 @@ async def test_two_automations_call_restart_script_same_time(
|
|||
|
||||
hass.states.async_set("binary_sensor.presence", "on")
|
||||
await hass.async_block_till_done()
|
||||
await hass.async_block_till_done()
|
||||
assert len(events) == 2
|
||||
cancel()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue