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

Public Member Functions

bool async_allow_call (self, HomeAssistant hass)
 
Callable[[], Noneasync_listen_update (self, Callable[[VoIPDevice], None] listener)
 
str|None get_pipeline_entity_id (self, HomeAssistant hass)
 
str|None get_vad_sensitivity_entity_id (self, HomeAssistant hass)
 
None set_is_active (self, bool active)
 

Public Attributes

 is_active
 

Static Public Attributes

 bool
 
 default_factory
 
 None
 

Detailed Description

Class to store device.

Definition at line 18 of file devices.py.

Member Function Documentation

◆ async_allow_call()

bool homeassistant.components.voip.devices.VoIPDevice.async_allow_call (   self,
HomeAssistant  hass 
)
Return if call is allowed.

Definition at line 43 of file devices.py.

◆ async_listen_update()

Callable[[], None] homeassistant.components.voip.devices.VoIPDevice.async_listen_update (   self,
Callable[[VoIPDevice], None]   listener 
)
Listen for updates.

Definition at line 35 of file devices.py.

◆ get_pipeline_entity_id()

str | None homeassistant.components.voip.devices.VoIPDevice.get_pipeline_entity_id (   self,
HomeAssistant  hass 
)
Return entity id for pipeline select.

Definition at line 60 of file devices.py.

◆ get_vad_sensitivity_entity_id()

str | None homeassistant.components.voip.devices.VoIPDevice.get_vad_sensitivity_entity_id (   self,
HomeAssistant  hass 
)
Return entity id for VAD sensitivity.

Definition at line 65 of file devices.py.

◆ set_is_active()

None homeassistant.components.voip.devices.VoIPDevice.set_is_active (   self,
bool  active 
)
Set active state.

Definition at line 28 of file devices.py.

Member Data Documentation

◆ bool

homeassistant.components.voip.devices.VoIPDevice.bool
static

Definition at line 23 of file devices.py.

◆ default_factory

homeassistant.components.voip.devices.VoIPDevice.default_factory
static

Definition at line 24 of file devices.py.

◆ is_active

homeassistant.components.voip.devices.VoIPDevice.is_active

Definition at line 30 of file devices.py.

◆ None

homeassistant.components.voip.devices.VoIPDevice.None
static

Definition at line 25 of file devices.py.


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