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

Variables

 _LOGGER = logging.getLogger(__package__)
 
string ATTR_DURATION = "duration"
 
string ATTR_INDICATION = "indication"
 
string ATTR_INFRARED = "infrared"
 
string ATTR_POWER = "power"
 
string ATTR_REMAINING = "remaining"
 
string ATTR_RSSI = "rssi"
 
string ATTR_THEME = "theme"
 
string ATTR_ZONES = "zones"
 
string CONF_LABEL = "label"
 
string CONF_SERIAL = "serial"
 
string DATA_LIFX_MANAGER = "lifx_manager"
 
int DEFAULT_ATTEMPTS = 5
 
int DISCOVERY_INTERVAL = 10
 
string DOMAIN = "lifx"
 
string HEV_CYCLE_STATE = "hev_cycle_state"
 
string IDENTIFY = "identify"
 
dictionary IDENTIFY_WAVEFORM
 
string INFRARED_BRIGHTNESS = "infrared_brightness"
 
dictionary INFRARED_BRIGHTNESS_VALUES_MAP
 
dictionary LIFX_CEILING_PRODUCT_IDS = {176, 177}
 
int MAX_ATTEMPTS_PER_UPDATE_REQUEST_MESSAGE = 5
 
int MAX_UPDATE_TIME = 90
 
int MESSAGE_RETRIES = 1
 
int MESSAGE_TIMEOUT = 18
 
int OVERALL_TIMEOUT = 15
 
string RESTART = "restart"
 
string TARGET_ANY = "00:00:00:00:00:00"
 
int UNAVAILABLE_GRACE = 90
 

Detailed Description

Const for LIFX.

Variable Documentation

◆ _LOGGER

homeassistant.components.lifx.const._LOGGER = logging.getLogger(__package__)
private

Definition at line 66 of file const.py.

◆ ATTR_DURATION

string homeassistant.components.lifx.const.ATTR_DURATION = "duration"

Definition at line 44 of file const.py.

◆ ATTR_INDICATION

string homeassistant.components.lifx.const.ATTR_INDICATION = "indication"

Definition at line 45 of file const.py.

◆ ATTR_INFRARED

string homeassistant.components.lifx.const.ATTR_INFRARED = "infrared"

Definition at line 46 of file const.py.

◆ ATTR_POWER

string homeassistant.components.lifx.const.ATTR_POWER = "power"

Definition at line 47 of file const.py.

◆ ATTR_REMAINING

string homeassistant.components.lifx.const.ATTR_REMAINING = "remaining"

Definition at line 48 of file const.py.

◆ ATTR_RSSI

string homeassistant.components.lifx.const.ATTR_RSSI = "rssi"

Definition at line 49 of file const.py.

◆ ATTR_THEME

string homeassistant.components.lifx.const.ATTR_THEME = "theme"

Definition at line 52 of file const.py.

◆ ATTR_ZONES

string homeassistant.components.lifx.const.ATTR_ZONES = "zones"

Definition at line 50 of file const.py.

◆ CONF_LABEL

string homeassistant.components.lifx.const.CONF_LABEL = "label"

Definition at line 26 of file const.py.

◆ CONF_SERIAL

string homeassistant.components.lifx.const.CONF_SERIAL = "serial"

Definition at line 27 of file const.py.

◆ DATA_LIFX_MANAGER

string homeassistant.components.lifx.const.DATA_LIFX_MANAGER = "lifx_manager"

Definition at line 62 of file const.py.

◆ DEFAULT_ATTEMPTS

int homeassistant.components.lifx.const.DEFAULT_ATTEMPTS = 5

Definition at line 20 of file const.py.

◆ DISCOVERY_INTERVAL

int homeassistant.components.lifx.const.DISCOVERY_INTERVAL = 10

Definition at line 9 of file const.py.

◆ DOMAIN

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

Definition at line 5 of file const.py.

◆ HEV_CYCLE_STATE

string homeassistant.components.lifx.const.HEV_CYCLE_STATE = "hev_cycle_state"

Definition at line 54 of file const.py.

◆ IDENTIFY

string homeassistant.components.lifx.const.IDENTIFY = "identify"

Definition at line 41 of file const.py.

◆ IDENTIFY_WAVEFORM

dictionary homeassistant.components.lifx.const.IDENTIFY_WAVEFORM
Initial value:
1 = {
2  "transient": True,
3  "color": [0, 0, 1, 3500],
4  "skew_ratio": 0,
5  "period": 1000,
6  "cycles": 3,
7  "waveform": 1,
8  "set_hue": True,
9  "set_saturation": True,
10  "set_brightness": True,
11  "set_kelvin": True,
12 }

Definition at line 29 of file const.py.

◆ INFRARED_BRIGHTNESS

string homeassistant.components.lifx.const.INFRARED_BRIGHTNESS = "infrared_brightness"

Definition at line 55 of file const.py.

◆ INFRARED_BRIGHTNESS_VALUES_MAP

dictionary homeassistant.components.lifx.const.INFRARED_BRIGHTNESS_VALUES_MAP
Initial value:
1 = {
2  0: "Disabled",
3  16383: "25%",
4  32767: "50%",
5  65535: "100%",
6 }

Definition at line 56 of file const.py.

◆ LIFX_CEILING_PRODUCT_IDS

dictionary homeassistant.components.lifx.const.LIFX_CEILING_PRODUCT_IDS = {176, 177}

Definition at line 64 of file const.py.

◆ MAX_ATTEMPTS_PER_UPDATE_REQUEST_MESSAGE

int homeassistant.components.lifx.const.MAX_ATTEMPTS_PER_UPDATE_REQUEST_MESSAGE = 5

Definition at line 24 of file const.py.

◆ MAX_UPDATE_TIME

int homeassistant.components.lifx.const.MAX_UPDATE_TIME = 90

Definition at line 22 of file const.py.

◆ MESSAGE_RETRIES

int homeassistant.components.lifx.const.MESSAGE_RETRIES = 1

Definition at line 15 of file const.py.

◆ MESSAGE_TIMEOUT

int homeassistant.components.lifx.const.MESSAGE_TIMEOUT = 18

Definition at line 12 of file const.py.

◆ OVERALL_TIMEOUT

int homeassistant.components.lifx.const.OVERALL_TIMEOUT = 15

Definition at line 16 of file const.py.

◆ RESTART

string homeassistant.components.lifx.const.RESTART = "restart"

Definition at line 42 of file const.py.

◆ TARGET_ANY

string homeassistant.components.lifx.const.TARGET_ANY = "00:00:00:00:00:00"

Definition at line 7 of file const.py.

◆ UNAVAILABLE_GRACE

int homeassistant.components.lifx.const.UNAVAILABLE_GRACE = 90

Definition at line 17 of file const.py.