mirror of
https://github.com/home-assistant/core.git
synced 2026-06-30 19:26:31 +01:00
bb924e79b1
Co-authored-by: Copilot <copilot@github.com> Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
25 lines
506 B
Python
25 lines
506 B
Python
"""Constants for the Velux integration."""
|
|
|
|
from logging import getLogger
|
|
|
|
from pyvlx import PyVLX
|
|
|
|
from homeassistant.const import Platform
|
|
from homeassistant.util.hass_dict import HassKey
|
|
|
|
DOMAIN = "velux"
|
|
PLATFORMS = [
|
|
Platform.BINARY_SENSOR,
|
|
Platform.BUTTON,
|
|
Platform.COVER,
|
|
Platform.LIGHT,
|
|
Platform.NUMBER,
|
|
Platform.SCENE,
|
|
Platform.SWITCH,
|
|
]
|
|
LOGGER = getLogger(__package__)
|
|
|
|
PYVLX_FROM_CONFIG_FLOW: HassKey[dict[str, PyVLX]] = HassKey(
|
|
"velux_pyvlx_from_config_flow"
|
|
)
|