2021-05-03 10:52:22 +00:00
|
|
|
"""Constants for the AVM FRITZ!SmartHome integration."""
|
2020-04-20 13:00:07 +00:00
|
|
|
import logging
|
|
|
|
|
|
|
|
ATTR_STATE_BATTERY_LOW = "battery_low"
|
|
|
|
ATTR_STATE_DEVICE_LOCKED = "device_locked"
|
|
|
|
ATTR_STATE_HOLIDAY_MODE = "holiday_mode"
|
|
|
|
ATTR_STATE_LOCKED = "locked"
|
|
|
|
ATTR_STATE_SUMMER_MODE = "summer_mode"
|
|
|
|
ATTR_STATE_WINDOW_OPEN = "window_open"
|
|
|
|
|
|
|
|
ATTR_TEMPERATURE_UNIT = "temperature_unit"
|
|
|
|
|
|
|
|
ATTR_TOTAL_CONSUMPTION = "total_consumption"
|
|
|
|
ATTR_TOTAL_CONSUMPTION_UNIT = "total_consumption_unit"
|
|
|
|
|
|
|
|
CONF_CONNECTIONS = "connections"
|
2021-04-25 00:40:12 +00:00
|
|
|
CONF_COORDINATOR = "coordinator"
|
2020-04-20 13:00:07 +00:00
|
|
|
|
|
|
|
DEFAULT_HOST = "fritz.box"
|
|
|
|
DEFAULT_USERNAME = "admin"
|
|
|
|
|
|
|
|
DOMAIN = "fritzbox"
|
|
|
|
|
2021-04-25 00:40:12 +00:00
|
|
|
LOGGER: logging.Logger = logging.getLogger(__package__)
|
2020-04-20 13:00:07 +00:00
|
|
|
|
|
|
|
PLATFORMS = ["binary_sensor", "climate", "switch", "sensor"]
|