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

Classes

class  EzvizSirenEntity
 

Functions

None async_setup_entry (HomeAssistant hass, ConfigEntry entry, AddEntitiesCallback async_add_entities)
 

Variables

 OFF_DELAY = timedelta(seconds=60)
 
int PARALLEL_UPDATES = 1
 
 SIREN_ENTITY_TYPE
 

Detailed Description

Support for EZVIZ sirens.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.ezviz.siren.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  entry,
AddEntitiesCallback   async_add_entities 
)
Set up EZVIZ sensors based on a config entry.

Definition at line 37 of file siren.py.

Variable Documentation

◆ OFF_DELAY

homeassistant.components.ezviz.siren.OFF_DELAY = timedelta(seconds=60)

Definition at line 29 of file siren.py.

◆ PARALLEL_UPDATES

int homeassistant.components.ezviz.siren.PARALLEL_UPDATES = 1

Definition at line 28 of file siren.py.

◆ SIREN_ENTITY_TYPE

homeassistant.components.ezviz.siren.SIREN_ENTITY_TYPE
Initial value:
1 = SirenEntityDescription(
2  key="siren",
3  translation_key="siren",
4 )

Definition at line 31 of file siren.py.