mirror of
https://github.com/home-assistant/core.git
synced 2025-07-29 18:28:14 +02:00
Small speed up to checking core state (#107845)
This commit is contained in:
@ -2452,7 +2452,7 @@ async def test_delayed_birth_message(
|
||||
"""Test sending birth message does not happen until Home Assistant starts."""
|
||||
mqtt_mock = await mqtt_mock_entry()
|
||||
|
||||
hass.state = CoreState.starting
|
||||
hass.set_state(CoreState.starting)
|
||||
birth = asyncio.Event()
|
||||
|
||||
await hass.async_block_till_done()
|
||||
|
Reference in New Issue
Block a user