1
0
mirror of https://github.com/home-assistant/core.git synced 2026-04-28 04:33:49 +01: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

@@ -96,7 +96,7 @@ async def test_restore_state(hass: HomeAssistant) -> None:
(State("input_button.b1", "2021-01-01T23:59:59+00:00"),),
)
hass.state = CoreState.starting
hass.set_state(CoreState.starting)
mock_component(hass, "recorder")
await async_setup_component(hass, DOMAIN, {DOMAIN: {"b1": None, "b2": None}})