Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.androidtv.config_flow.OptionsFlowHandler Class Reference
Inheritance diagram for homeassistant.components.androidtv.config_flow.OptionsFlowHandler:
[legend]
Collaboration diagram for homeassistant.components.androidtv.config_flow.OptionsFlowHandler:
[legend]

Public Member Functions

None __init__ (self, ConfigEntry config_entry)
 
ConfigFlowResult async_step_apps (self, dict[str, Any]|None user_input=None, str|None app_id=None)
 
ConfigFlowResult async_step_init (self, dict[str, Any]|None user_input=None)
 
ConfigFlowResult async_step_rules (self, dict[str, Any]|None user_input=None, str|None rule_id=None)
 
- Public Member Functions inherited from homeassistant.config_entries.OptionsFlow
ConfigEntry config_entry (self)
 
None config_entry (self, ConfigEntry value)
 
- Public Member Functions inherited from homeassistant.data_entry_flow.FlowHandler
vol.Schema add_suggested_values_to_schema (self, vol.Schema data_schema, Mapping[str, Any]|None suggested_values)
 
_FlowResultT async_abort (self, *str reason, Mapping[str, str]|None description_placeholders=None)
 
None async_cancel_progress_task (self)
 
_FlowResultT async_create_entry (self, *str|None title=None, Mapping[str, Any] data, str|None description=None, Mapping[str, str]|None description_placeholders=None)
 
_FlowResultT async_external_step (self, *str|None step_id=None, str url, Mapping[str, str]|None description_placeholders=None)
 
_FlowResultT async_external_step_done (self, *str next_step_id)
 
asyncio.Task[Any]|None async_get_progress_task (self)
 
None async_remove (self)
 
None async_set_progress_task (self, asyncio.Task[Any] progress_task)
 
_FlowResultT async_show_form (self, *str|None step_id=None, vol.Schema|None data_schema=None, dict[str, str]|None errors=None, Mapping[str, str]|None description_placeholders=None, bool|None last_step=None, str|None preview=None)
 
_FlowResultT async_show_menu (self, *str|None step_id=None, Container[str] menu_options, Mapping[str, str]|None description_placeholders=None)
 
_FlowResultT async_show_progress (self, *str|None step_id=None, str progress_action, Mapping[str, str]|None description_placeholders=None, asyncio.Task[Any]|None progress_task=None)
 
_FlowResultT async_show_progress_done (self, *str next_step_id)
 
bool show_advanced_options (self)
 
str|None source (self)
 

Private Member Functions

ConfigFlowResult _async_apps_form (self, str app_id)
 
ConfigFlowResult _async_init_form (self)
 
ConfigFlowResult _async_rules_form (self, str rule_id, str default_id="", dict[str, str]|None errors=None)
 
ConfigFlowResult _save_config (self, dict[str, Any] data)
 

Private Attributes

 _conf_app_id
 
 _conf_rule_id
 

Additional Inherited Members

- Static Public Member Functions inherited from homeassistant.data_entry_flow.FlowHandler
None async_setup_preview (HomeAssistant hass)
 
- Public Attributes inherited from homeassistant.data_entry_flow.FlowHandler
 deprecated_show_progress
 
- Static Public Attributes inherited from homeassistant.data_entry_flow.FlowHandler
 Any
 
bool deprecated_show_progress = False
 
 HomeAssistant
 
string init_step = "init"
 
int MINOR_VERSION = 1
 
 None
 
 str
 
int VERSION = 1
 

Detailed Description

Handle an option flow for Android Debug Bridge.

Definition at line 189 of file config_flow.py.

Constructor & Destructor Documentation

◆ __init__()

None homeassistant.components.androidtv.config_flow.OptionsFlowHandler.__init__ (   self,
ConfigEntry  config_entry 
)
Initialize options flow.

Definition at line 192 of file config_flow.py.

Member Function Documentation

◆ _async_apps_form()

ConfigFlowResult homeassistant.components.androidtv.config_flow.OptionsFlowHandler._async_apps_form (   self,
str  app_id 
)
private
Return configuration form for apps.

Definition at line 302 of file config_flow.py.

◆ _async_init_form()

ConfigFlowResult homeassistant.components.androidtv.config_flow.OptionsFlowHandler._async_init_form (   self)
private
Return initial configuration form.

Definition at line 230 of file config_flow.py.

◆ _async_rules_form()

ConfigFlowResult homeassistant.components.androidtv.config_flow.OptionsFlowHandler._async_rules_form (   self,
str  rule_id,
str   default_id = "",
dict[str, str] | None   errors = None 
)
private
Return configuration form for detection rules.

Definition at line 351 of file config_flow.py.

◆ _save_config()

ConfigFlowResult homeassistant.components.androidtv.config_flow.OptionsFlowHandler._save_config (   self,
dict[str, Any data 
)
private
Save the updated options.

Definition at line 202 of file config_flow.py.

◆ async_step_apps()

ConfigFlowResult homeassistant.components.androidtv.config_flow.OptionsFlowHandler.async_step_apps (   self,
dict[str, Any] | None   user_input = None,
str | None   app_id = None 
)
Handle options flow for apps list.

Definition at line 283 of file config_flow.py.

◆ async_step_init()

ConfigFlowResult homeassistant.components.androidtv.config_flow.OptionsFlowHandler.async_step_init (   self,
dict[str, Any] | None   user_input = None 
)
Handle options flow.

Definition at line 216 of file config_flow.py.

◆ async_step_rules()

ConfigFlowResult homeassistant.components.androidtv.config_flow.OptionsFlowHandler.async_step_rules (   self,
dict[str, Any] | None   user_input = None,
str | None   rule_id = None 
)
Handle options flow for detection rules.

Definition at line 325 of file config_flow.py.

Member Data Documentation

◆ _conf_app_id

homeassistant.components.androidtv.config_flow.OptionsFlowHandler._conf_app_id
private

Definition at line 288 of file config_flow.py.

◆ _conf_rule_id

homeassistant.components.androidtv.config_flow.OptionsFlowHandler._conf_rule_id
private

Definition at line 330 of file config_flow.py.


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