Fix blocking I/O in the event loop when loading timezones (#117721)
This commit is contained in:
parent
0293315b23
commit
5a609c34bb
98 changed files with 294 additions and 217 deletions
|
@ -688,7 +688,7 @@ async def test_setup_no_config(hass: HomeAssistant, hass_admin_user: MockUser) -
|
|||
|
||||
async def test_timestamp(hass: HomeAssistant) -> None:
|
||||
"""Test timestamp."""
|
||||
hass.config.set_time_zone("America/Los_Angeles")
|
||||
await hass.config.async_set_time_zone("America/Los_Angeles")
|
||||
|
||||
assert await async_setup_component(
|
||||
hass,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue