Small speed up to checking core state (#107845)
This commit is contained in:
parent
32b0bf6b4e
commit
c399cab427
68 changed files with 176 additions and 165 deletions
|
@ -325,7 +325,7 @@ async def test_restore_state(hass: HomeAssistant) -> None:
|
|||
),
|
||||
)
|
||||
|
||||
hass.state = CoreState.starting
|
||||
hass.set_state(CoreState.starting)
|
||||
|
||||
initial = datetime.datetime(2017, 1, 1, 23, 42)
|
||||
default = datetime.datetime.combine(datetime.date.today(), DEFAULT_TIME)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue