1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 21:06:19 +00:00

Small speed up to checking core state (#107845)

This commit is contained in:
J. Nick Koston
2024-01-18 08:41:32 -10:00
committed by GitHub
parent 32b0bf6b4e
commit c399cab427
68 changed files with 176 additions and 165 deletions

View File

@@ -285,7 +285,7 @@ async def async_test_home_assistant(event_loop, load_registries=True):
)
hass.data[bootstrap.DATA_REGISTRIES_LOADED] = None
hass.state = CoreState.running
hass.set_state(CoreState.running)
@callback
def clear_instance(event):