1
0
mirror of https://github.com/home-assistant/core.git synced 2026-06-30 19:26:31 +01:00
Files
core/homeassistant/components/velux/const.py
T
wollew bb924e79b1 Speed up Velux setup by avoiding disconnect from gateway (#167932)
Co-authored-by: Copilot <copilot@github.com>
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2026-05-08 12:57:48 +02:00

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"
)