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:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user