Improve type hints in risco tests (#123887)

This commit is contained in:
epenet 2024-08-14 12:50:29 +02:00 committed by GitHub
parent 7ff368fe0d
commit 13b071fd72
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 15 additions and 7 deletions

View file

@ -160,7 +160,7 @@ def _check_state(hass, category, entity_id):
@pytest.fixture
async def _set_utc_time_zone(hass):
async def _set_utc_time_zone(hass: HomeAssistant) -> None:
await hass.config.async_set_time_zone("UTC")