mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 04:07:08 +00:00
Improve type hints in mobile_app config flow (#124906)
This commit is contained in:
parent
ffabd5d7db
commit
1906155c18
@ -28,7 +28,9 @@ class MobileAppFlowHandler(ConfigFlow, domain=DOMAIN):
|
|||||||
reason="install_app", description_placeholders=placeholders
|
reason="install_app", description_placeholders=placeholders
|
||||||
)
|
)
|
||||||
|
|
||||||
async def async_step_registration(self, user_input=None):
|
async def async_step_registration(
|
||||||
|
self, user_input: dict[str, Any]
|
||||||
|
) -> ConfigFlowResult:
|
||||||
"""Handle a flow initialized during registration."""
|
"""Handle a flow initialized during registration."""
|
||||||
if ATTR_DEVICE_ID in user_input:
|
if ATTR_DEVICE_ID in user_input:
|
||||||
# Unique ID is combi of app + device ID.
|
# Unique ID is combi of app + device ID.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user