Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.voip.devices.VoIPDevices Class Reference

Public Member Functions

None __init__ (self, HomeAssistant hass, ConfigEntry config_entry)
 
Iterator[VoIPDevice__iter__ (self)
 
None async_add_new_device_listener (self, Callable[[VoIPDevice], None] listener)
 
VoIPDevice async_get_or_create (self, CallInfo call_info)
 
None async_setup (self)
 

Public Attributes

 config_entry
 
 devices
 
 hass
 

Detailed Description

Class to store devices.

Definition at line 73 of file devices.py.

Constructor & Destructor Documentation

◆ __init__()

None homeassistant.components.voip.devices.VoIPDevices.__init__ (   self,
HomeAssistant  hass,
ConfigEntry  config_entry 
)
Initialize VoIP devices.

Definition at line 76 of file devices.py.

Member Function Documentation

◆ __iter__()

Iterator[VoIPDevice] homeassistant.components.voip.devices.VoIPDevices.__iter__ (   self)
Iterate over devices.

Definition at line 167 of file devices.py.

◆ async_add_new_device_listener()

None homeassistant.components.voip.devices.VoIPDevices.async_add_new_device_listener (   self,
Callable[[VoIPDevice], None]   listener 
)
Add a new device listener.

Definition at line 118 of file devices.py.

◆ async_get_or_create()

VoIPDevice homeassistant.components.voip.devices.VoIPDevices.async_get_or_create (   self,
CallInfo  call_info 
)
Get or create a device.

Definition at line 125 of file devices.py.

◆ async_setup()

None homeassistant.components.voip.devices.VoIPDevices.async_setup (   self)
Set up devices.

Definition at line 84 of file devices.py.

Member Data Documentation

◆ config_entry

homeassistant.components.voip.devices.VoIPDevices.config_entry

Definition at line 79 of file devices.py.

◆ devices

homeassistant.components.voip.devices.VoIPDevices.devices

Definition at line 103 of file devices.py.

◆ hass

homeassistant.components.voip.devices.VoIPDevices.hass

Definition at line 78 of file devices.py.


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