mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 05:07:41 +00:00
Adjust type hints in devialet config_flow (#127185)
This commit is contained in:
parent
448dd61684
commit
6321978f75
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user