Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.nanoleaf.const Namespace Reference

Variables

string DOMAIN = "nanoleaf"
 
string NANOLEAF_EVENT = f"{DOMAIN}_event"
 
dictionary TOUCH_GESTURE_TRIGGER_MAP
 
dictionary TOUCH_MODELS = {"NL29", "NL42", "NL52"}
 

Detailed Description

Constants for Nanoleaf integration.

Variable Documentation

◆ DOMAIN

string homeassistant.components.nanoleaf.const.DOMAIN = "nanoleaf"

Definition at line 3 of file const.py.

◆ NANOLEAF_EVENT

string homeassistant.components.nanoleaf.const.NANOLEAF_EVENT = f"{DOMAIN}_event"

Definition at line 5 of file const.py.

◆ TOUCH_GESTURE_TRIGGER_MAP

dictionary homeassistant.components.nanoleaf.const.TOUCH_GESTURE_TRIGGER_MAP
Initial value:
1 = {
2  2: "swipe_up",
3  3: "swipe_down",
4  4: "swipe_left",
5  5: "swipe_right",
6 }

Definition at line 9 of file const.py.

◆ TOUCH_MODELS

dictionary homeassistant.components.nanoleaf.const.TOUCH_MODELS = {"NL29", "NL42", "NL52"}

Definition at line 7 of file const.py.