Adjust type hints in devialet config_flow (#127185)

This commit is contained in:
epenet 2024-10-01 12:49:52 +02:00 committed by GitHub
parent 448dd61684
commit 6321978f75
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -23,12 +23,13 @@ class DevialetFlowHandler(ConfigFlow, domain=DOMAIN):
VERSION = 1
_host: str
_model: str
_name: str
_serial: str
def __init__(self) -> None:
"""Initialize flow."""
self._host: str | None = None
self._name: str | None = None
self._model: str | None = None
self._serial: str | None = None
self._errors: dict[str, str] = {}
async def async_validate_input(self) -> ConfigFlowResult | None: