Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.reolink.siren Namespace Reference

Classes

class  ReolinkSirenEntity
 
class  ReolinkSirenEntityDescription
 

Functions

None async_setup_entry (HomeAssistant hass, ReolinkConfigEntry config_entry, AddEntitiesCallback async_add_entities)
 

Variables

int PARALLEL_UPDATES = 0
 
tuple SIREN_ENTITIES
 

Detailed Description

Component providing support for Reolink siren entities.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.reolink.siren.async_setup_entry ( HomeAssistant  hass,
ReolinkConfigEntry  config_entry,
AddEntitiesCallback  async_add_entities 
)
Set up a Reolink siren entities.

Definition at line 43 of file siren.py.

Variable Documentation

◆ PARALLEL_UPDATES

int homeassistant.components.reolink.siren.PARALLEL_UPDATES = 0

Definition at line 24 of file siren.py.

◆ SIREN_ENTITIES

tuple homeassistant.components.reolink.siren.SIREN_ENTITIES
Initial value:
1 = (
2  ReolinkSirenEntityDescription(
3  key="siren",
4  translation_key="siren",
5  supported=lambda api, ch: api.supported(ch, "siren_play"),
6  ),
7 )

Definition at line 34 of file siren.py.