Files
project-work/home-assistant/homeassistant/components/nanoleaf/const.py
2026-11-19 15:15:32 -05:00

15 lines
256 B
Python

"""Constants for Nanoleaf integration."""
DOMAIN = "nanoleaf"
NANOLEAF_EVENT = f"{DOMAIN}_event"
TOUCH_MODELS = {"NL29", "NL42", "NL52"}
TOUCH_GESTURE_TRIGGER_MAP = {
2: "swipe_up",
3: "swipe_down",
4: "swipe_left",
5: "swipe_right",
}