Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.unifiprotect.repairs.RTSPRepair Class Reference
Inheritance diagram for homeassistant.components.unifiprotect.repairs.RTSPRepair:
[legend]
Collaboration diagram for homeassistant.components.unifiprotect.repairs.RTSPRepair:
[legend]

Public Member Functions

None __init__ (self, *ProtectApiClient api, UFPConfigEntry entry, str camera_id)
 
data_entry_flow.FlowResult async_step_confirm (self, dict[str, str]|None user_input=None)
 
data_entry_flow.FlowResult async_step_init (self, dict[str, str]|None user_input=None)
 
data_entry_flow.FlowResult async_step_start (self, dict[str, str]|None user_input=None)
 
- Public Member Functions inherited from homeassistant.components.unifiprotect.repairs.ProtectRepair
None __init__ (self, *ProtectApiClient api, UFPConfigEntry entry)
 
- 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

dict[str, str_async_get_placeholders (self)
 
None _enable_rtsp (self)
 
Bootstrap _get_boostrap (self)
 
Camera _get_camera (self)
 

Private Attributes

 _bootstrap
 
 _camera
 
 _camera_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

Handler for an issue fixing flow.

Definition at line 121 of file repairs.py.

Constructor & Destructor Documentation

◆ __init__()

None homeassistant.components.unifiprotect.repairs.RTSPRepair.__init__ (   self,
*ProtectApiClient  api,
UFPConfigEntry  entry,
str  camera_id 
)
Create flow.

Definition at line 128 of file repairs.py.

Member Function Documentation

◆ _async_get_placeholders()

dict[str, str] homeassistant.components.unifiprotect.repairs.RTSPRepair._async_get_placeholders (   self)
private

Reimplemented from homeassistant.components.unifiprotect.repairs.ProtectRepair.

Definition at line 143 of file repairs.py.

◆ _enable_rtsp()

None homeassistant.components.unifiprotect.repairs.RTSPRepair._enable_rtsp (   self)
private

Definition at line 163 of file repairs.py.

◆ _get_boostrap()

Bootstrap homeassistant.components.unifiprotect.repairs.RTSPRepair._get_boostrap (   self)
private

Definition at line 150 of file repairs.py.

◆ _get_camera()

Camera homeassistant.components.unifiprotect.repairs.RTSPRepair._get_camera (   self)
private

Definition at line 156 of file repairs.py.

◆ async_step_confirm()

data_entry_flow.FlowResult homeassistant.components.unifiprotect.repairs.RTSPRepair.async_step_confirm (   self,
dict[str, str] | None   user_input = None 
)
Handle the confirm step of a fix flow.

Definition at line 208 of file repairs.py.

◆ async_step_init()

data_entry_flow.FlowResult homeassistant.components.unifiprotect.repairs.RTSPRepair.async_step_init (   self,
dict[str, str] | None   user_input = None 
)
Handle the first step of a fix flow.

Definition at line 176 of file repairs.py.

◆ async_step_start()

data_entry_flow.FlowResult homeassistant.components.unifiprotect.repairs.RTSPRepair.async_step_start (   self,
dict[str, str] | None   user_input = None 
)
Handle the first step of a fix flow.

Definition at line 183 of file repairs.py.

Member Data Documentation

◆ _bootstrap

homeassistant.components.unifiprotect.repairs.RTSPRepair._bootstrap
private

Definition at line 139 of file repairs.py.

◆ _camera

homeassistant.components.unifiprotect.repairs.RTSPRepair._camera
private

Definition at line 140 of file repairs.py.

◆ _camera_id

homeassistant.components.unifiprotect.repairs.RTSPRepair._camera_id
private

Definition at line 138 of file repairs.py.


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