diff --git a/homeassistant/components/rachio/switch.py b/homeassistant/components/rachio/switch.py index 65487ded792..55427741bf0 100644 --- a/homeassistant/components/rachio/switch.py +++ b/homeassistant/components/rachio/switch.py @@ -291,6 +291,7 @@ class RachioRainDelay(RachioSwitch): endtime = parse_datetime(args[0][0][KEY_RAIN_DELAY_END]) _LOGGER.debug("Rain delay expires at %s", endtime) self._state = True + assert endtime is not None self._cancel_update = async_track_point_in_utc_time( self.hass, self._delay_expiration, endtime ) diff --git a/mypy.ini b/mypy.ini index abe3ca7da9a..5e92d2bbe15 100644 --- a/mypy.ini +++ b/mypy.ini @@ -2176,9 +2176,6 @@ ignore_errors = true [mypy-homeassistant.components.profiler.*] ignore_errors = true -[mypy-homeassistant.components.rachio.*] -ignore_errors = true - [mypy-homeassistant.components.ring.*] ignore_errors = true diff --git a/script/hassfest/mypy_config.py b/script/hassfest/mypy_config.py index d17bdc97169..c4ed4722220 100644 --- a/script/hassfest/mypy_config.py +++ b/script/hassfest/mypy_config.py @@ -67,7 +67,6 @@ IGNORED_MODULES: Final[list[str]] = [ "homeassistant.components.plum_lightpad.*", "homeassistant.components.point.*", "homeassistant.components.profiler.*", - "homeassistant.components.rachio.*", "homeassistant.components.ring.*", "homeassistant.components.ruckus_unleashed.*", "homeassistant.components.screenlogic.*",