Home Assistant Unofficial Reference 2024.12.1
const.py
Go to the documentation of this file.
1 """Define constants for the SimpliSafe component."""
2 
3 import logging
4 
5 LOGGER = logging.getLogger(__package__)
6 
7 DOMAIN = "rainmachine"
8 
9 CONF_DURATION = "duration"
10 CONF_DEFAULT_ZONE_RUN_TIME = "zone_run_time"
11 CONF_USE_APP_RUN_TIMES = "use_app_run_times"
12 CONF_ALLOW_INACTIVE_ZONES_TO_RUN = "allow_inactive_zones_to_run"
13 
14 DATA_API_VERSIONS = "api.versions"
15 DATA_MACHINE_FIRMWARE_UPDATE_STATUS = "machine.firmware_update_status"
16 DATA_PROGRAMS = "programs"
17 DATA_PROVISION_SETTINGS = "provision.settings"
18 DATA_RESTRICTIONS_CURRENT = "restrictions.current"
19 DATA_RESTRICTIONS_UNIVERSAL = "restrictions.universal"
20 DATA_ZONES = "zones"
21 
22 DEFAULT_PORT = 8080
23 DEFAULT_ZONE_RUN = 60 * 10