Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.zha.radio_manager.ZhaRadioManager Class Reference

Public Member Functions

None __init__ (self)
 
None async_form_network (self)
 
zigpy.backups.NetworkBackup|None async_load_network_settings (self, *bool create_backup=False)
 
None async_reset_adapter (self)
 
bool async_restore_backup_step_1 (self)
 
None async_restore_backup_step_2 (self, bool overwrite_ieee)
 
AsyncIterator[ControllerApplication] connect_zigpy_app (self)
 
ProbeResult detect_radio_type (self)
 
Self from_config_entry (cls, HomeAssistant hass, config_entries.ConfigEntry config_entry)
 
None restore_backup (self, zigpy.backups.NetworkBackup backup, **Any kwargs)
 

Static Public Member Functions

RadioType parse_radio_type (str radio_type)
 

Public Attributes

 backups
 
 current_settings
 
 device_settings
 
 radio_type
 

Detailed Description

Helper class with radio related functionality.

Definition at line 133 of file radio_manager.py.

Constructor & Destructor Documentation

◆ __init__()

None homeassistant.components.zha.radio_manager.ZhaRadioManager.__init__ (   self)
Initialize ZhaRadioManager instance.

Definition at line 138 of file radio_manager.py.

Member Function Documentation

◆ async_form_network()

None homeassistant.components.zha.radio_manager.ZhaRadioManager.async_form_network (   self)
Form a brand-new network.

Definition at line 273 of file radio_manager.py.

◆ async_load_network_settings()

zigpy.backups.NetworkBackup | None homeassistant.components.zha.radio_manager.ZhaRadioManager.async_load_network_settings (   self,
*bool   create_backup = False 
)
Connect to the radio and load its current network settings.

Definition at line 244 of file radio_manager.py.

◆ async_reset_adapter()

None homeassistant.components.zha.radio_manager.ZhaRadioManager.async_reset_adapter (   self)
Reset the current adapter.

Definition at line 279 of file radio_manager.py.

◆ async_restore_backup_step_1()

bool homeassistant.components.zha.radio_manager.ZhaRadioManager.async_restore_backup_step_1 (   self)
Prepare restoring backup.

Returns True if async_restore_backup_step_2 should be called.

Definition at line 285 of file radio_manager.py.

◆ async_restore_backup_step_2()

None homeassistant.components.zha.radio_manager.ZhaRadioManager.async_restore_backup_step_2 (   self,
bool  overwrite_ieee 
)
Restore backup and optionally overwrite IEEE.

Definition at line 322 of file radio_manager.py.

◆ connect_zigpy_app()

AsyncIterator[ControllerApplication] homeassistant.components.zha.radio_manager.ZhaRadioManager.connect_zigpy_app (   self)
Connect to the radio with the current config and then clean up.

Definition at line 161 of file radio_manager.py.

◆ detect_radio_type()

ProbeResult homeassistant.components.zha.radio_manager.ZhaRadioManager.detect_radio_type (   self)
Probe all radio types on the current port.

Definition at line 213 of file radio_manager.py.

◆ from_config_entry()

Self homeassistant.components.zha.radio_manager.ZhaRadioManager.from_config_entry (   cls,
HomeAssistant  hass,
config_entries.ConfigEntry   config_entry 
)
Create an instance from a config entry.

Definition at line 148 of file radio_manager.py.

◆ parse_radio_type()

RadioType homeassistant.components.zha.radio_manager.ZhaRadioManager.parse_radio_type ( str  radio_type)
static
Parse a radio type name, accounting for past aliases.

Definition at line 206 of file radio_manager.py.

◆ restore_backup()

None homeassistant.components.zha.radio_manager.ZhaRadioManager.restore_backup (   self,
zigpy.backups.NetworkBackup  backup,
**Any   kwargs 
)
Restore the provided network backup, passing through kwargs.

Definition at line 192 of file radio_manager.py.

Member Data Documentation

◆ backups

homeassistant.components.zha.radio_manager.ZhaRadioManager.backups

Definition at line 268 of file radio_manager.py.

◆ current_settings

homeassistant.components.zha.radio_manager.ZhaRadioManager.current_settings

Definition at line 259 of file radio_manager.py.

◆ device_settings

homeassistant.components.zha.radio_manager.ZhaRadioManager.device_settings

Definition at line 231 of file radio_manager.py.

◆ radio_type

homeassistant.components.zha.radio_manager.ZhaRadioManager.radio_type

Definition at line 230 of file radio_manager.py.


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