Improve type hints in starline config flow (#130507)

This commit is contained in:
epenet 2024-11-15 12:13:58 +01:00 committed by GitHub
parent a57233c152
commit 747c05a263
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -34,6 +34,7 @@ class StarlineFlowHandler(ConfigFlow, domain=DOMAIN):
_app_code: str
_app_token: str
_captcha_image: str
_phone_number: str
def __init__(self) -> None:
"""Initialize flow."""
@ -49,7 +50,6 @@ class StarlineFlowHandler(ConfigFlow, domain=DOMAIN):
self._slnet_token_expires = None
self._captcha_sid: str | None = None
self._captcha_code: str | None = None
self._phone_number = None
self._auth = StarlineAuth()