Home Assistant Unofficial Reference 2024.12.1
homeassistant.helpers.discovery_flow.FlowDispatcher Class Reference

Public Member Functions

None __init__ (self, HomeAssistant hass)
 
None async_create (self, str domain, ConfigFlowContext context, Any data)
 
None async_setup (self)
 

Public Attributes

 hass
 
 pending_flows
 
 started
 

Private Member Functions

None _async_start (self, Event event)
 

Detailed Description

Dispatch discovery flows.

Definition at line 105 of file discovery_flow.py.

Constructor & Destructor Documentation

◆ __init__()

None homeassistant.helpers.discovery_flow.FlowDispatcher.__init__ (   self,
HomeAssistant  hass 
)
Init the discovery dispatcher.

Definition at line 108 of file discovery_flow.py.

Member Function Documentation

◆ _async_start()

None homeassistant.helpers.discovery_flow.FlowDispatcher._async_start (   self,
Event  event 
)
private
Start processing pending flows.

Definition at line 119 of file discovery_flow.py.

◆ async_create()

None homeassistant.helpers.discovery_flow.FlowDispatcher.async_create (   self,
str  domain,
ConfigFlowContext  context,
Any  data 
)
Create and add or queue a flow.

Definition at line 140 of file discovery_flow.py.

◆ async_setup()

None homeassistant.helpers.discovery_flow.FlowDispatcher.async_setup (   self)
Set up the flow disptcher.

Definition at line 115 of file discovery_flow.py.

Member Data Documentation

◆ hass

homeassistant.helpers.discovery_flow.FlowDispatcher.hass

Definition at line 110 of file discovery_flow.py.

◆ pending_flows

homeassistant.helpers.discovery_flow.FlowDispatcher.pending_flows

Definition at line 122 of file discovery_flow.py.

◆ started

homeassistant.helpers.discovery_flow.FlowDispatcher.started

Definition at line 111 of file discovery_flow.py.


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