Make run_immediately the default for core EventBus listeners (#113752)
* DNM: Make run_immediately the default for listeners
This is a test to see how much progress we have made twords this goal
https://github.com/home-assistant/core/pull/113727#issuecomment-2004587947
* fix shutdown
* Revert "fix shutdown"
This reverts commit a8969d7db9
.
* set false since it break utility meter tests
* one more
* fix rfxtrx test
* test needs to be explict now
* fix matrix
* fail sooner
This commit is contained in:
parent
bf5cf382dc
commit
fb98a6f026
8 changed files with 25 additions and 10 deletions
|
@ -2512,7 +2512,9 @@ async def test_recursive_automation_starting_script(
|
|||
hass.services.async_register(
|
||||
"test", "automation_started", async_service_handler
|
||||
)
|
||||
hass.bus.async_listen("automation_triggered", async_automation_triggered)
|
||||
hass.bus.async_listen(
|
||||
"automation_triggered", async_automation_triggered, run_immediately=False
|
||||
)
|
||||
|
||||
hass.bus.async_fire("trigger_automation")
|
||||
await asyncio.wait_for(script_done_event.wait(), 10)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue