mirror of
https://github.com/home-assistant/core.git
synced 2025-07-26 22:57:17 +00:00
Improve type hints in starline config flow (#130507)
This commit is contained in:
parent
a57233c152
commit
747c05a263
@ -34,6 +34,7 @@ class StarlineFlowHandler(ConfigFlow, domain=DOMAIN):
|
|||||||
_app_code: str
|
_app_code: str
|
||||||
_app_token: str
|
_app_token: str
|
||||||
_captcha_image: str
|
_captcha_image: str
|
||||||
|
_phone_number: str
|
||||||
|
|
||||||
def __init__(self) -> None:
|
def __init__(self) -> None:
|
||||||
"""Initialize flow."""
|
"""Initialize flow."""
|
||||||
@ -49,7 +50,6 @@ class StarlineFlowHandler(ConfigFlow, domain=DOMAIN):
|
|||||||
self._slnet_token_expires = None
|
self._slnet_token_expires = None
|
||||||
self._captcha_sid: str | None = None
|
self._captcha_sid: str | None = None
|
||||||
self._captcha_code: str | None = None
|
self._captcha_code: str | None = None
|
||||||
self._phone_number = None
|
|
||||||
|
|
||||||
self._auth = StarlineAuth()
|
self._auth = StarlineAuth()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user