Convert async_setup calls for auth sub-modules to callback functions (#115443)

This commit is contained in:
J. Nick Koston 2024-04-11 11:22:50 -10:00 committed by GitHub
parent c14f11fbf0
commit d9fc9f2e0c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 7 additions and 5 deletions

View file

@ -62,7 +62,8 @@ class MfaFlowManager(data_entry_flow.FlowManager):
return result
async def async_setup(hass: HomeAssistant) -> None:
@callback
def async_setup(hass: HomeAssistant) -> None:
"""Init mfa setup flow manager."""
hass.data[DATA_SETUP_FLOW_MGR] = MfaFlowManager(hass)