CEZ_rele_box/custom_components/xt211_han/const.py

24 lines
389 B
Python

"""Constants for XT211 HAN integration."""
DOMAIN = "xt211_han"
CONF_HOST = "host"
CONF_PORT = "port"
CONF_NAME = "name"
CONF_PHASES = "phases"
CONF_HAS_FVE = "has_fve"
CONF_TARIFFS = "tariffs"
CONF_RELAY_COUNT = "relay_count"
DEFAULT_PORT = 8899
DEFAULT_NAME = "XT211 HAN"
PHASES_1 = "1"
PHASES_3 = "3"
TARIFFS_1 = 1
TARIFFS_2 = 2
TARIFFS_4 = 4
RELAYS_0 = 0
RELAYS_4 = 4
RELAYS_6 = 6