Home Assistant Unofficial Reference 2024.12.1
homeassistant.auth.mfa_modules.notify.NotifySetupFlow Class Reference
Inheritance diagram for homeassistant.auth.mfa_modules.notify.NotifySetupFlow:
[legend]
Collaboration diagram for homeassistant.auth.mfa_modules.notify.NotifySetupFlow:
[legend]

Public Member Functions

None __init__ (self, NotifyAuthModule auth_module, vol.Schema setup_schema, str user_id, list[str] available_notify_services)
 
FlowResult async_step_init (self, dict[str, str]|None user_input=None)
 
FlowResult async_step_setup (self, dict[str, str]|None user_input=None)
 

Private Attributes

 _available_notify_services
 
 _count
 
 _notify_service
 
 _secret
 
 _target
 

Detailed Description

Handler for the setup flow.

Definition at line 271 of file notify.py.

Constructor & Destructor Documentation

◆ __init__()

None homeassistant.auth.mfa_modules.notify.NotifySetupFlow.__init__ (   self,
NotifyAuthModule  auth_module,
vol.Schema  setup_schema,
str  user_id,
list[str]  available_notify_services 
)
Initialize the setup flow.

Definition at line 274 of file notify.py.

Member Function Documentation

◆ async_step_init()

FlowResult homeassistant.auth.mfa_modules.notify.NotifySetupFlow.async_step_init (   self,
dict[str, str] | None   user_input = None 
)
Let user select available notify services.

Definition at line 291 of file notify.py.

◆ async_step_setup()

FlowResult homeassistant.auth.mfa_modules.notify.NotifySetupFlow.async_step_setup (   self,
dict[str, str] | None   user_input = None 
)
Verify user can receive one-time password.

Definition at line 317 of file notify.py.

Member Data Documentation

◆ _available_notify_services

homeassistant.auth.mfa_modules.notify.NotifySetupFlow._available_notify_services
private

Definition at line 285 of file notify.py.

◆ _count

homeassistant.auth.mfa_modules.notify.NotifySetupFlow._count
private

Definition at line 302 of file notify.py.

◆ _notify_service

homeassistant.auth.mfa_modules.notify.NotifySetupFlow._notify_service
private

Definition at line 299 of file notify.py.

◆ _secret

homeassistant.auth.mfa_modules.notify.NotifySetupFlow._secret
private

Definition at line 301 of file notify.py.

◆ _target

homeassistant.auth.mfa_modules.notify.NotifySetupFlow._target
private

Definition at line 300 of file notify.py.


The documentation for this class was generated from the following file: