Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.config.config_entries.ConfigManagerFlowResourceView Class Reference
Inheritance diagram for homeassistant.components.config.config_entries.ConfigManagerFlowResourceView:
[legend]
Collaboration diagram for homeassistant.components.config.config_entries.ConfigManagerFlowResourceView:
[legend]

Public Member Functions

web.Response get (self, web.Request request, str flow_id)
 
web.Response post (self, web.Request request, str flow_id)
 
- Public Member Functions inherited from homeassistant.helpers.data_entry_flow.FlowManagerResourceView
web.Response post (self, web.Request request, dict[str, Any] data, str flow_id)
 
- Public Member Functions inherited from homeassistant.helpers.data_entry_flow._BaseFlowManagerView
None __init__ (self, _FlowManagerT flow_mgr)
 
- Public Member Functions inherited from homeassistant.config_entries.ConfigEntriesFlowManager
None __init__ (self, HomeAssistant hass, ConfigEntries config_entries, ConfigType hass_config)
 
ConfigFlow async_create_flow (self, str handler_key, *ConfigFlowContext|None context=None, Any data=None)
 
ConfigFlowResult async_finish_flow (self, data_entry_flow.FlowHandler[ConfigFlowContext, ConfigFlowResult] flow, ConfigFlowResult result)
 
bool async_has_matching_discovery_flow (self, str handler, ConfigFlowContext match_context, Any data)
 
bool async_has_matching_flow (self, ConfigFlow flow)
 
ConfigFlowResult async_init (self, str handler, *ConfigFlowContext|None context=None, Any data=None)
 
None async_post_init (self, data_entry_flow.FlowHandler[ConfigFlowContext, ConfigFlowResult] flow, ConfigFlowResult result)
 
None async_shutdown (self)
 
None async_wait_import_flow_initialized (self, str handler)
 
- Public Member Functions inherited from homeassistant.data_entry_flow.FlowManager
None __init__ (self, HomeAssistant hass)
 
None async_abort (self, str flow_id)
 
_FlowResultT async_configure (self, str flow_id, dict|None user_input=None)
 
FlowHandler[_FlowContextT, _FlowResultT, _HandlerTasync_create_flow (self, _HandlerT handler_key, *_FlowContextT|None context=None, dict[str, Any]|None data=None)
 
_FlowResultT async_finish_flow (self, FlowHandler[_FlowContextT, _FlowResultT, _HandlerT] flow, _FlowResultT result)
 
_FlowResultT async_get (self, str flow_id)
 
_FlowResultT async_init (self, _HandlerT handler, *_FlowContextT|None context=None, Any data=None)
 
None async_post_init (self, FlowHandler[_FlowContextT, _FlowResultT, _HandlerT] flow, _FlowResultT result)
 
list[_FlowResultTasync_progress (self, bool include_uninitialized=False)
 
list[_FlowResultTasync_progress_by_handler (self, _HandlerT handler, bool include_uninitialized=False, dict[str, Any]|None match_context=None)
 
list[_FlowResultTasync_progress_by_init_data_type (self, type init_data_type, Callable[[Any], bool] matcher, bool include_uninitialized=False)
 

Static Public Attributes

 name
 
 url
 
- Static Public Attributes inherited from homeassistant.helpers.data_entry_flow.FlowManagerResourceView
 allow_empty
 

Private Member Functions

data_entry_flow.FlowResult _prepare_result_json (self, data_entry_flow.FlowResult result)
 

Additional Inherited Members

- Public Attributes inherited from homeassistant.config_entries.ConfigEntriesFlowManager
 config_entries
 
- Public Attributes inherited from homeassistant.data_entry_flow.FlowManager
 hass
 

Detailed Description

View to interact with the flow manager.

Definition at line 202 of file config_entries.py.

Member Function Documentation

◆ _prepare_result_json()

data_entry_flow.FlowResult homeassistant.components.config.config_entries.ConfigManagerFlowResourceView._prepare_result_json (   self,
data_entry_flow.FlowResult   result 
)
private
Convert result to JSON.

Reimplemented from homeassistant.helpers.data_entry_flow._BaseFlowManagerView.

Definition at line 222 of file config_entries.py.

◆ get()

web.Response homeassistant.components.config.config_entries.ConfigManagerFlowResourceView.get (   self,
web.Request  request,
str  flow_id 
)
Get the current state of a data_entry_flow.

Reimplemented from homeassistant.helpers.data_entry_flow.FlowManagerResourceView.

Definition at line 212 of file config_entries.py.

◆ post()

web.Response homeassistant.components.config.config_entries.ConfigManagerFlowResourceView.post (   self,
web.Request  request,
str  flow_id 
)
Handle a POST request.

Definition at line 218 of file config_entries.py.

Member Data Documentation

◆ name

homeassistant.components.config.config_entries.ConfigManagerFlowResourceView.name
static

Definition at line 208 of file config_entries.py.

◆ url

homeassistant.components.config.config_entries.ConfigManagerFlowResourceView.url
static

Definition at line 207 of file config_entries.py.


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