Fix typing issue in easyEnergy (#87371)

This commit is contained in:
Franck Nijhof 2023-02-04 13:42:03 +01:00 committed by GitHub
parent 2c648172d3
commit 9e775c43af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,6 +13,7 @@ from easyenergy import (
)
from homeassistant.config_entries import ConfigEntry
from homeassistant.core import HomeAssistant
from homeassistant.helpers.aiohttp_client import async_get_clientsession
from homeassistant.helpers.update_coordinator import DataUpdateCoordinator, UpdateFailed
from homeassistant.util import dt
@ -33,7 +34,7 @@ class EasyEnergyDataUpdateCoordinator(DataUpdateCoordinator[EasyEnergyData]):
config_entry: ConfigEntry
def __init__(self, hass) -> None:
def __init__(self, hass: HomeAssistant) -> None:
"""Initialize global easyEnergy data updater."""
super().__init__(
hass,