diff --git a/homeassistant/components/zerproc/light.py b/homeassistant/components/zerproc/light.py index ad14d9c506a..3f0136f9b0d 100644 --- a/homeassistant/components/zerproc/light.py +++ b/homeassistant/components/zerproc/light.py @@ -16,7 +16,6 @@ from homeassistant.components.light import ( from homeassistant.config_entries import ConfigEntry from homeassistant.const import EVENT_HOMEASSISTANT_STOP from homeassistant.core import HomeAssistant -from homeassistant.helpers.entity import Entity from homeassistant.helpers.entity_platform import AddEntitiesCallback from homeassistant.helpers.event import async_track_time_interval import homeassistant.util.color as color_util @@ -30,7 +29,7 @@ SUPPORT_ZERPROC = SUPPORT_BRIGHTNESS | SUPPORT_COLOR DISCOVERY_INTERVAL = timedelta(seconds=60) -async def discover_entities(hass: HomeAssistant) -> list[Entity]: +async def discover_entities(hass: HomeAssistant) -> list[ZerprocLight]: """Attempt to discover new lights.""" lights = await pyzerproc.discover() diff --git a/mypy.ini b/mypy.ini index e38897bf303..cb10dee585b 100644 --- a/mypy.ini +++ b/mypy.ini @@ -1777,9 +1777,6 @@ ignore_errors = true [mypy-homeassistant.components.yeelight.*] ignore_errors = true -[mypy-homeassistant.components.zerproc.*] -ignore_errors = true - [mypy-homeassistant.components.zha.*] ignore_errors = true diff --git a/script/hassfest/mypy_config.py b/script/hassfest/mypy_config.py index 8ff72c332da..e507e906964 100644 --- a/script/hassfest/mypy_config.py +++ b/script/hassfest/mypy_config.py @@ -192,7 +192,6 @@ IGNORED_MODULES: Final[list[str]] = [ "homeassistant.components.xiaomi_miio.*", "homeassistant.components.yamaha.*", "homeassistant.components.yeelight.*", - "homeassistant.components.zerproc.*", "homeassistant.components.zha.*", "homeassistant.components.zwave.*", ]