Add typing to tests with single hass argument (#87631)

This commit is contained in:
epenet 2023-02-07 15:01:16 +01:00 committed by GitHub
parent fe9f6823c3
commit 59ca7780fa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
33 changed files with 104 additions and 75 deletions

View file

@ -20,7 +20,7 @@ import homeassistant.util.dt as dt_util
from tests.common import mock_restore_cache
async def test_state(hass) -> None:
async def test_state(hass: HomeAssistant) -> None:
"""Test integration sensor state."""
config = {
"sensor": {