"""Constants for the AlarmDecoder component.""" CONF_ALT_NIGHT_MODE = "alt_night_mode" CONF_AUTO_BYPASS = "auto_bypass" CONF_CODE_ARM_REQUIRED = "code_arm_required" CONF_DEVICE_BAUD = "device_baudrate" CONF_DEVICE_PATH = "device_path" CONF_RELAY_ADDR = "zone_relayaddr" CONF_RELAY_CHAN = "zone_relaychan" CONF_ZONE_LOOP = "zone_loop" CONF_ZONE_NAME = "zone_name" CONF_ZONE_NUMBER = "zone_number" CONF_ZONE_RFID = "zone_rfid" CONF_ZONE_TYPE = "zone_type" DATA_AD = "alarmdecoder" DATA_REMOVE_STOP_LISTENER = "rm_stop_listener" DATA_REMOVE_UPDATE_LISTENER = "rm_update_listener" DATA_RESTART = "restart" DEFAULT_ALT_NIGHT_MODE = False DEFAULT_AUTO_BYPASS = False DEFAULT_CODE_ARM_REQUIRED = True DEFAULT_DEVICE_BAUD = 115200 DEFAULT_DEVICE_HOST = "alarmdecoder" DEFAULT_DEVICE_PATH = "/dev/ttyUSB0" DEFAULT_DEVICE_PORT = 10000 DEFAULT_ZONE_TYPE = "window" DEFAULT_ARM_OPTIONS = { CONF_ALT_NIGHT_MODE: DEFAULT_ALT_NIGHT_MODE, CONF_AUTO_BYPASS: DEFAULT_AUTO_BYPASS, CONF_CODE_ARM_REQUIRED: DEFAULT_CODE_ARM_REQUIRED, } DEFAULT_ZONE_OPTIONS = {} DOMAIN = "alarmdecoder" OPTIONS_ARM = "arm_options" OPTIONS_ZONES = "zone_options" PROTOCOL_SERIAL = "serial" PROTOCOL_SOCKET = "socket" SIGNAL_PANEL_MESSAGE = "alarmdecoder.panel_message" SIGNAL_REL_MESSAGE = "alarmdecoder.rel_message" SIGNAL_RFX_MESSAGE = "alarmdecoder.rfx_message" SIGNAL_ZONE_FAULT = "alarmdecoder.zone_fault" SIGNAL_ZONE_RESTORE = "alarmdecoder.zone_restore"