Activate mypy for SiteSage Emonitor (#54040)
This commit is contained in:
parent
7e2c6ae332
commit
d8c679809f
3 changed files with 1 additions and 5 deletions
|
@ -25,7 +25,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
|
||||||
session = aiohttp_client.async_get_clientsession(hass)
|
session = aiohttp_client.async_get_clientsession(hass)
|
||||||
emonitor = Emonitor(entry.data[CONF_HOST], session)
|
emonitor = Emonitor(entry.data[CONF_HOST], session)
|
||||||
|
|
||||||
coordinator = DataUpdateCoordinator(
|
coordinator: DataUpdateCoordinator = DataUpdateCoordinator(
|
||||||
hass,
|
hass,
|
||||||
_LOGGER,
|
_LOGGER,
|
||||||
name=entry.title,
|
name=entry.title,
|
||||||
|
|
3
mypy.ini
3
mypy.ini
|
@ -1334,9 +1334,6 @@ ignore_errors = true
|
||||||
[mypy-homeassistant.components.elkm1.*]
|
[mypy-homeassistant.components.elkm1.*]
|
||||||
ignore_errors = true
|
ignore_errors = true
|
||||||
|
|
||||||
[mypy-homeassistant.components.emonitor.*]
|
|
||||||
ignore_errors = true
|
|
||||||
|
|
||||||
[mypy-homeassistant.components.enphase_envoy.*]
|
[mypy-homeassistant.components.enphase_envoy.*]
|
||||||
ignore_errors = true
|
ignore_errors = true
|
||||||
|
|
||||||
|
|
|
@ -37,7 +37,6 @@ IGNORED_MODULES: Final[list[str]] = [
|
||||||
"homeassistant.components.directv.*",
|
"homeassistant.components.directv.*",
|
||||||
"homeassistant.components.doorbird.*",
|
"homeassistant.components.doorbird.*",
|
||||||
"homeassistant.components.elkm1.*",
|
"homeassistant.components.elkm1.*",
|
||||||
"homeassistant.components.emonitor.*",
|
|
||||||
"homeassistant.components.enphase_envoy.*",
|
"homeassistant.components.enphase_envoy.*",
|
||||||
"homeassistant.components.entur_public_transport.*",
|
"homeassistant.components.entur_public_transport.*",
|
||||||
"homeassistant.components.evohome.*",
|
"homeassistant.components.evohome.*",
|
||||||
|
|
Loading…
Add table
Reference in a new issue