mirror of
https://github.com/home-assistant/core
synced 2024-09-03 08:14:07 +02:00
15 lines
256 B
Python
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",
|
|
}
|