Fix flaky script shared context test (#183838)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
epenet
2026-10-01 08:50:32 +02:00
committed by GitHub
co-authored by Claude Opus 5.5
parent 619c338d86
commit cfa6f75033
+1 -1
View File
@@ -658,7 +658,7 @@ async def test_shared_context(hass: HomeAssistant) -> None:
started_flag.set()
hass.bus.async_listen(event, event_started)
hass.bus.async_listen(EVENT_SCRIPT_STARTED, run_mock)
hass.bus.async_listen(EVENT_SCRIPT_STARTED, callback(run_mock))
assert await async_setup_component(
hass,