diff --git a/homeassistant/components/nest/legacy/__init__.py b/homeassistant/components/nest/legacy/__init__.py index ce1fdd0e7ac..e0202c63567 100644 --- a/homeassistant/components/nest/legacy/__init__.py +++ b/homeassistant/components/nest/legacy/__init__.py @@ -1,4 +1,5 @@ """Support for Nest devices.""" +# mypy: ignore-errors from datetime import datetime, timedelta import logging diff --git a/homeassistant/components/nest/legacy/binary_sensor.py b/homeassistant/components/nest/legacy/binary_sensor.py index 79e1bf65c86..8b17e7d020f 100644 --- a/homeassistant/components/nest/legacy/binary_sensor.py +++ b/homeassistant/components/nest/legacy/binary_sensor.py @@ -1,4 +1,6 @@ """Support for Nest Thermostat binary sensors.""" +# mypy: ignore-errors + from itertools import chain import logging diff --git a/homeassistant/components/nest/legacy/camera.py b/homeassistant/components/nest/legacy/camera.py index 0b6b7a649a6..3bcf1cdee2c 100644 --- a/homeassistant/components/nest/legacy/camera.py +++ b/homeassistant/components/nest/legacy/camera.py @@ -1,4 +1,6 @@ """Support for Nest Cameras.""" +# mypy: ignore-errors + from __future__ import annotations from datetime import timedelta diff --git a/homeassistant/components/nest/legacy/climate.py b/homeassistant/components/nest/legacy/climate.py index 3e0eb5ac16b..97ed1ee00b9 100644 --- a/homeassistant/components/nest/legacy/climate.py +++ b/homeassistant/components/nest/legacy/climate.py @@ -1,4 +1,6 @@ """Legacy Works with Nest climate implementation.""" +# mypy: ignore-errors + import logging from nest.nest import APIError diff --git a/homeassistant/components/nest/legacy/local_auth.py b/homeassistant/components/nest/legacy/local_auth.py index 6c7f1043093..a091469cd81 100644 --- a/homeassistant/components/nest/legacy/local_auth.py +++ b/homeassistant/components/nest/legacy/local_auth.py @@ -1,4 +1,6 @@ """Local Nest authentication for the legacy api.""" +# mypy: ignore-errors + import asyncio from functools import partial from http import HTTPStatus diff --git a/homeassistant/components/nest/legacy/sensor.py b/homeassistant/components/nest/legacy/sensor.py index c5229177b60..bb09a40b15e 100644 --- a/homeassistant/components/nest/legacy/sensor.py +++ b/homeassistant/components/nest/legacy/sensor.py @@ -1,4 +1,6 @@ """Support for Nest Thermostat sensors for the legacy API.""" +# mypy: ignore-errors + import logging from homeassistant.components.sensor import SensorDeviceClass, SensorEntity diff --git a/mypy.ini b/mypy.ini index 7e35a4929f8..0181d769c2d 100644 --- a/mypy.ini +++ b/mypy.ini @@ -2136,9 +2136,6 @@ ignore_errors = true [mypy-homeassistant.components.mobile_app.*] ignore_errors = true -[mypy-homeassistant.components.nest.legacy.*] -ignore_errors = true - [mypy-homeassistant.components.netgear.*] ignore_errors = true diff --git a/script/hassfest/mypy_config.py b/script/hassfest/mypy_config.py index bb1cc2a6679..00c22abae4a 100644 --- a/script/hassfest/mypy_config.py +++ b/script/hassfest/mypy_config.py @@ -51,7 +51,6 @@ IGNORED_MODULES: Final[list[str]] = [ "homeassistant.components.meteo_france.*", "homeassistant.components.minecraft_server.*", "homeassistant.components.mobile_app.*", - "homeassistant.components.nest.legacy.*", "homeassistant.components.netgear.*", "homeassistant.components.nilu.*", "homeassistant.components.nzbget.*",