Revert to using call_soon for event triggers and state changed event trackers (#122735)

This commit is contained in:
J. Nick Koston 2024-07-29 04:45:39 -05:00 committed by GitHub
parent 869ec3f670
commit 1879db9f8f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 233 additions and 6 deletions

View file

@ -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()