diff --git a/homeassistant/components/velbus/config_flow.py b/homeassistant/components/velbus/config_flow.py index a10d59bad4a..93dd68c9eea 100644 --- a/homeassistant/components/velbus/config_flow.py +++ b/homeassistant/components/velbus/config_flow.py @@ -1,4 +1,6 @@ """Config flow for the Velbus platform.""" +from __future__ import annotations + import velbus import voluptuous as vol @@ -25,7 +27,7 @@ class VelbusConfigFlow(config_entries.ConfigFlow, domain=DOMAIN): def __init__(self) -> None: """Initialize the velbus config flow.""" - self._errors = {} + self._errors: dict[str, str] = {} def _create_device(self, name: str, prt: str): """Create an entry async.""" diff --git a/mypy.ini b/mypy.ini index f9db7f199cf..c0495cd5c4c 100644 --- a/mypy.ini +++ b/mypy.ini @@ -1649,9 +1649,6 @@ ignore_errors = true [mypy-homeassistant.components.upnp.*] ignore_errors = true -[mypy-homeassistant.components.velbus.*] -ignore_errors = true - [mypy-homeassistant.components.vera.*] ignore_errors = true diff --git a/script/hassfest/mypy_config.py b/script/hassfest/mypy_config.py index a25760c4825..ef681cc5ea3 100644 --- a/script/hassfest/mypy_config.py +++ b/script/hassfest/mypy_config.py @@ -142,7 +142,6 @@ IGNORED_MODULES: Final[list[str]] = [ "homeassistant.components.tuya.*", "homeassistant.components.unifi.*", "homeassistant.components.upnp.*", - "homeassistant.components.velbus.*", "homeassistant.components.vera.*", "homeassistant.components.verisure.*", "homeassistant.components.vizio.*",