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

Classes

class  RfxtrxChime
 
class  RfxtrxOffDelayMixin
 
class  RfxtrxSecurityPanic
 

Functions

None async_setup_entry (HomeAssistant hass, ConfigEntry config_entry, AddEntitiesCallback async_add_entities)
 
int get_first_key (dict[int, str] data, str entry)
 
bool supported (rfxtrxmod.RFXtrxEvent event)
 

Variables

dictionary SECURITY_PANIC_ALL = {SECURITY_PANIC_ON, SECURITY_PANIC_OFF}
 
string SECURITY_PANIC_OFF = "End Panic"
 
string SECURITY_PANIC_ON = "Panic"
 

Detailed Description

Support for RFXtrx sirens.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.rfxtrx.siren.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  config_entry,
AddEntitiesCallback  async_add_entities 
)
Set up config entry.

Definition at line 47 of file siren.py.

◆ get_first_key()

int homeassistant.components.rfxtrx.siren.get_first_key ( dict[int, str]  data,
str  entry 
)
Find a key based on the items value.

Definition at line 42 of file siren.py.

◆ supported()

bool homeassistant.components.rfxtrx.siren.supported ( rfxtrxmod.RFXtrxEvent  event)
Return whether an event supports sirens.

Definition at line 26 of file siren.py.

Variable Documentation

◆ SECURITY_PANIC_ALL

dictionary homeassistant.components.rfxtrx.siren.SECURITY_PANIC_ALL = {SECURITY_PANIC_ON, SECURITY_PANIC_OFF}

Definition at line 23 of file siren.py.

◆ SECURITY_PANIC_OFF

string homeassistant.components.rfxtrx.siren.SECURITY_PANIC_OFF = "End Panic"

Definition at line 22 of file siren.py.

◆ SECURITY_PANIC_ON

string homeassistant.components.rfxtrx.siren.SECURITY_PANIC_ON = "Panic"

Definition at line 21 of file siren.py.