1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-20 02:48:57 +00:00
Files
core/homeassistant/components/eheimdigital/const.py
Sid 0c8db8c8d6 Add eheimdigital integration (#126757)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2024-12-13 22:29:18 +01:00

18 lines
395 B
Python

"""Constants for the EHEIM Digital integration."""
from logging import Logger, getLogger
from eheimdigital.types import LightMode
from homeassistant.components.light import EFFECT_OFF
LOGGER: Logger = getLogger(__package__)
DOMAIN = "eheimdigital"
EFFECT_DAYCL_MODE = "daycl_mode"
EFFECT_TO_LIGHT_MODE = {
EFFECT_DAYCL_MODE: LightMode.DAYCL_MODE,
EFFECT_OFF: LightMode.MAN_MODE,
}