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