Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.hive.alarm_control_panel Namespace Reference

Classes

class  HiveAlarmControlPanelEntity
 

Functions

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

Variables

dictionary HIVETOHA
 
int PARALLEL_UPDATES = 0
 
 SCAN_INTERVAL = timedelta(seconds=15)
 

Detailed Description

Support for the Hive alarm.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.hive.alarm_control_panel.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  entry,
AddEntitiesCallback   async_add_entities 
)
Set up Hive thermostat based on a config entry.

Definition at line 29 of file alarm_control_panel.py.

Variable Documentation

◆ HIVETOHA

dictionary homeassistant.components.hive.alarm_control_panel.HIVETOHA
Initial value:
1 = {
2  "home": AlarmControlPanelState.DISARMED,
3  "asleep": AlarmControlPanelState.ARMED_NIGHT,
4  "away": AlarmControlPanelState.ARMED_AWAY,
5  "sos": AlarmControlPanelState.TRIGGERED,
6 }

Definition at line 21 of file alarm_control_panel.py.

◆ PARALLEL_UPDATES

int homeassistant.components.hive.alarm_control_panel.PARALLEL_UPDATES = 0

Definition at line 19 of file alarm_control_panel.py.

◆ SCAN_INTERVAL

homeassistant.components.hive.alarm_control_panel.SCAN_INTERVAL = timedelta(seconds=15)

Definition at line 20 of file alarm_control_panel.py.