Import util.dt as dt_util in components/[p-s]* (#93761)

This commit is contained in:
Ville Skyttä 2023-05-30 00:09:42 +03:00 committed by GitHub
parent 2e59ae9e90
commit 940942a74a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
23 changed files with 111 additions and 109 deletions

View file

@ -10,7 +10,7 @@ import pytest
from homeassistant.config_entries import ConfigEntry
from homeassistant.const import STATE_OFF, STATE_ON
from homeassistant.core import HomeAssistant
from homeassistant.util import dt
from homeassistant.util import dt as dt_util
from tests.common import async_fire_time_changed
@ -39,7 +39,7 @@ async def test_select(
):
async_fire_time_changed(
hass,
dt.utcnow() + timedelta(minutes=5),
dt_util.utcnow() + timedelta(minutes=5),
)
await hass.async_block_till_done()