This commit is contained in:
J. Nick Koston
2023-06-06 09:23:03 -05:00
parent eda270fde2
commit 90c575ce57
2 changed files with 26 additions and 0 deletions
+2
View File
@@ -63,6 +63,7 @@ from homeassistant.helpers import (
restore_state,
restore_state as rs,
storage,
template,
)
from homeassistant.helpers.dispatcher import async_dispatcher_connect
from homeassistant.helpers.json import JSONEncoder
@@ -267,6 +268,7 @@ async def async_test_home_assistant(event_loop, load_registries=True):
ir.async_load(hass),
rs.async_load(hass),
)
template.async_setup(hass)
hass.data[bootstrap.DATA_REGISTRIES_LOADED] = None
hass.state = CoreState.running