core/homeassistant/components/fritzbox/const.py

36 lines
851 B
Python
Raw Normal View History

"""Constants for the AVM FRITZ!SmartHome integration."""
from __future__ import annotations
import logging
from typing import Final
2021-12-04 12:26:40 +00:00
from homeassistant.const import Platform
ATTR_STATE_BATTERY_LOW: Final = "battery_low"
ATTR_STATE_HOLIDAY_MODE: Final = "holiday_mode"
ATTR_STATE_SUMMER_MODE: Final = "summer_mode"
ATTR_STATE_WINDOW_OPEN: Final = "window_open"
COLOR_MODE: Final = "1"
COLOR_TEMP_MODE: Final = "4"
CONF_CONNECTIONS: Final = "connections"
CONF_COORDINATOR: Final = "coordinator"
DEFAULT_HOST: Final = "fritz.box"
DEFAULT_USERNAME: Final = "admin"
DOMAIN: Final = "fritzbox"
LOGGER: Final[logging.Logger] = logging.getLogger(__package__)
2021-12-04 12:26:40 +00:00
PLATFORMS: Final[list[Platform]] = [
Platform.BINARY_SENSOR,
Platform.BUTTON,
2021-12-04 12:26:40 +00:00
Platform.CLIMATE,
Platform.COVER,
2021-12-04 12:26:40 +00:00
Platform.LIGHT,
Platform.SENSOR,
Platform.SWITCH,
2021-12-04 12:26:40 +00:00
]