Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.risco.const Namespace Reference

Variables

string CONF_CODE_ARM_REQUIRED = "code_arm_required"
 
string CONF_CODE_DISARM_REQUIRED = "code_disarm_required"
 
string CONF_COMMUNICATION_DELAY = "communication_delay"
 
string CONF_CONCURRENCY = "concurrency"
 
string CONF_HA_STATES_TO_RISCO = "ha_states_to_risco"
 
string CONF_RISCO_STATES_TO_HA = "risco_states_to_ha"
 
string DATA_COORDINATOR = "risco"
 
dictionary DEFAULT_ADVANCED_OPTIONS
 
int DEFAULT_CONCURRENCY = 4
 
dictionary DEFAULT_HA_STATES_TO_RISCO
 
dictionary DEFAULT_OPTIONS
 
dictionary DEFAULT_RISCO_GROUPS_TO_HA
 
dictionary DEFAULT_RISCO_STATES_TO_HA
 
int DEFAULT_SCAN_INTERVAL = 30
 
string DOMAIN = "risco"
 
string EVENTS_COORDINATOR = "risco_events"
 
int MAX_COMMUNICATION_DELAY = 3
 
string RISCO_ARM = "arm"
 
string RISCO_EVENT = "risco_event"
 
list RISCO_GROUPS = ["A", "B", "C", "D"]
 
string RISCO_PARTIAL_ARM = "partial_arm"
 
list RISCO_STATES = [RISCO_ARM, RISCO_PARTIAL_ARM, *RISCO_GROUPS]
 
string SYSTEM_UPDATE_SIGNAL = "risco_system_update"
 
string TYPE_LOCAL = "local"
 

Detailed Description

Constants for the Risco integration.

Variable Documentation

◆ CONF_CODE_ARM_REQUIRED

string homeassistant.components.risco.const.CONF_CODE_ARM_REQUIRED = "code_arm_required"

Definition at line 21 of file const.py.

◆ CONF_CODE_DISARM_REQUIRED

string homeassistant.components.risco.const.CONF_CODE_DISARM_REQUIRED = "code_disarm_required"

Definition at line 22 of file const.py.

◆ CONF_COMMUNICATION_DELAY

string homeassistant.components.risco.const.CONF_COMMUNICATION_DELAY = "communication_delay"

Definition at line 25 of file const.py.

◆ CONF_CONCURRENCY

string homeassistant.components.risco.const.CONF_CONCURRENCY = "concurrency"

Definition at line 26 of file const.py.

◆ CONF_HA_STATES_TO_RISCO

string homeassistant.components.risco.const.CONF_HA_STATES_TO_RISCO = "ha_states_to_risco"

Definition at line 24 of file const.py.

◆ CONF_RISCO_STATES_TO_HA

string homeassistant.components.risco.const.CONF_RISCO_STATES_TO_HA = "risco_states_to_ha"

Definition at line 23 of file const.py.

◆ DATA_COORDINATOR

string homeassistant.components.risco.const.DATA_COORDINATOR = "risco"

Definition at line 10 of file const.py.

◆ DEFAULT_ADVANCED_OPTIONS

dictionary homeassistant.components.risco.const.DEFAULT_ADVANCED_OPTIONS
Initial value:
1 = {
2  CONF_SCAN_INTERVAL: DEFAULT_SCAN_INTERVAL,
3  CONF_CONCURRENCY: DEFAULT_CONCURRENCY,
4 }

Definition at line 54 of file const.py.

◆ DEFAULT_CONCURRENCY

int homeassistant.components.risco.const.DEFAULT_CONCURRENCY = 4

Definition at line 14 of file const.py.

◆ DEFAULT_HA_STATES_TO_RISCO

dictionary homeassistant.components.risco.const.DEFAULT_HA_STATES_TO_RISCO
Initial value:
1 = {
2  AlarmControlPanelState.ARMED_AWAY: RISCO_ARM,
3  AlarmControlPanelState.ARMED_HOME: RISCO_PARTIAL_ARM,
4 }

Definition at line 42 of file const.py.

◆ DEFAULT_OPTIONS

dictionary homeassistant.components.risco.const.DEFAULT_OPTIONS
Initial value:
1 = {
2  CONF_CODE_ARM_REQUIRED: False,
3  CONF_CODE_DISARM_REQUIRED: False,
4  CONF_RISCO_STATES_TO_HA: DEFAULT_RISCO_STATES_TO_HA,
5  CONF_HA_STATES_TO_RISCO: DEFAULT_HA_STATES_TO_RISCO,
6 }

Definition at line 47 of file const.py.

◆ DEFAULT_RISCO_GROUPS_TO_HA

dictionary homeassistant.components.risco.const.DEFAULT_RISCO_GROUPS_TO_HA
Initial value:
1 = {
2  group: AlarmControlPanelState.ARMED_HOME for group in RISCO_GROUPS
3 }

Definition at line 33 of file const.py.

◆ DEFAULT_RISCO_STATES_TO_HA

dictionary homeassistant.components.risco.const.DEFAULT_RISCO_STATES_TO_HA
Initial value:
1 = {
2  RISCO_ARM: AlarmControlPanelState.ARMED_AWAY,
3  RISCO_PARTIAL_ARM: AlarmControlPanelState.ARMED_HOME,
4  **DEFAULT_RISCO_GROUPS_TO_HA,
5 }

Definition at line 36 of file const.py.

◆ DEFAULT_SCAN_INTERVAL

int homeassistant.components.risco.const.DEFAULT_SCAN_INTERVAL = 30

Definition at line 13 of file const.py.

◆ DOMAIN

string homeassistant.components.risco.const.DOMAIN = "risco"

Definition at line 6 of file const.py.

◆ EVENTS_COORDINATOR

string homeassistant.components.risco.const.EVENTS_COORDINATOR = "risco_events"

Definition at line 11 of file const.py.

◆ MAX_COMMUNICATION_DELAY

int homeassistant.components.risco.const.MAX_COMMUNICATION_DELAY = 3

Definition at line 18 of file const.py.

◆ RISCO_ARM

string homeassistant.components.risco.const.RISCO_ARM = "arm"

Definition at line 29 of file const.py.

◆ RISCO_EVENT

string homeassistant.components.risco.const.RISCO_EVENT = "risco_event"

Definition at line 8 of file const.py.

◆ RISCO_GROUPS

list homeassistant.components.risco.const.RISCO_GROUPS = ["A", "B", "C", "D"]

Definition at line 28 of file const.py.

◆ RISCO_PARTIAL_ARM

string homeassistant.components.risco.const.RISCO_PARTIAL_ARM = "partial_arm"

Definition at line 30 of file const.py.

◆ RISCO_STATES

list homeassistant.components.risco.const.RISCO_STATES = [RISCO_ARM, RISCO_PARTIAL_ARM, *RISCO_GROUPS]

Definition at line 31 of file const.py.

◆ SYSTEM_UPDATE_SIGNAL

string homeassistant.components.risco.const.SYSTEM_UPDATE_SIGNAL = "risco_system_update"

Definition at line 20 of file const.py.

◆ TYPE_LOCAL

string homeassistant.components.risco.const.TYPE_LOCAL = "local"

Definition at line 16 of file const.py.