Home Assistant Unofficial Reference 2024.12.1
const.py
Go to the documentation of this file.
1 """Constants for sms Component."""
2 
3 DOMAIN = "sms"
4 SMS_GATEWAY = "SMS_GATEWAY"
5 HASS_CONFIG = "sms_hass_config"
6 SMS_STATE_UNREAD = "UnRead"
7 SIGNAL_COORDINATOR = "signal_coordinator"
8 NETWORK_COORDINATOR = "network_coordinator"
9 GATEWAY = "gateway"
10 DEFAULT_SCAN_INTERVAL = 30
11 CONF_BAUD_SPEED = "baud_speed"
12 CONF_UNICODE = "unicode"
13 DEFAULT_BAUD_SPEED = "0"
14 DEFAULT_BAUD_SPEEDS = [
15  {"value": DEFAULT_BAUD_SPEED, "label": "Auto"},
16  {"value": "50", "label": "50"},
17  {"value": "75", "label": "75"},
18  {"value": "110", "label": "110"},
19  {"value": "134", "label": "134"},
20  {"value": "150", "label": "150"},
21  {"value": "200", "label": "200"},
22  {"value": "300", "label": "300"},
23  {"value": "600", "label": "600"},
24  {"value": "1200", "label": "1200"},
25  {"value": "1800", "label": "1800"},
26  {"value": "2400", "label": "2400"},
27  {"value": "4800", "label": "4800"},
28  {"value": "9600", "label": "9600"},
29  {"value": "19200", "label": "19200"},
30  {"value": "28800", "label": "28800"},
31  {"value": "38400", "label": "38400"},
32  {"value": "57600", "label": "57600"},
33  {"value": "76800", "label": "76800"},
34  {"value": "115200", "label": "115200"},
35 ]