Home Assistant Unofficial Reference 2024.12.1
const.py File Reference

Go to the source code of this file.

Namespaces

 homeassistant.components.yeelight.const
 

Variables

string homeassistant.components.yeelight.const.ACTION_OFF = "off"
 
string homeassistant.components.yeelight.const.ACTION_RECOVER = "recover"
 
string homeassistant.components.yeelight.const.ACTION_STAY = "stay"
 
int homeassistant.components.yeelight.const.ACTIVE_COLOR_FLOWING = 1
 
int homeassistant.components.yeelight.const.ACTIVE_MODE_NIGHTLIGHT = 1
 
string homeassistant.components.yeelight.const.ATTR_ACTION = "action"
 
string homeassistant.components.yeelight.const.ATTR_COUNT = "count"
 
string homeassistant.components.yeelight.const.ATTR_MODE_MUSIC = "music_mode"
 
string homeassistant.components.yeelight.const.ATTR_TRANSITIONS = "transitions"
 
string homeassistant.components.yeelight.const.CONF_CUSTOM_EFFECTS = "custom_effects"
 
string homeassistant.components.yeelight.const.CONF_DETECTED_MODEL = "detected_model"
 
string homeassistant.components.yeelight.const.CONF_FLOW_PARAMS = "flow_params"
 
string homeassistant.components.yeelight.const.CONF_MODE_MUSIC = "use_music_mode"
 
string homeassistant.components.yeelight.const.CONF_NIGHTLIGHT_SWITCH = "nightlight_switch"
 
string homeassistant.components.yeelight.const.CONF_NIGHTLIGHT_SWITCH_TYPE = "nightlight_switch_type"
 
string homeassistant.components.yeelight.const.CONF_SAVE_ON_CHANGE = "save_on_change"
 
string homeassistant.components.yeelight.const.CONF_TRANSITION = "transition"
 
string homeassistant.components.yeelight.const.DATA_CONFIG_ENTRIES = "config_entries"
 
string homeassistant.components.yeelight.const.DATA_CUSTOM_EFFECTS = "custom_effects"
 
string homeassistant.components.yeelight.const.DATA_DEVICE = "device"
 
string homeassistant.components.yeelight.const.DATA_PLATFORMS_LOADED = "platforms_loaded"
 
string homeassistant.components.yeelight.const.DATA_REMOVE_INIT_DISPATCHER = "remove_init_dispatcher"
 
string homeassistant.components.yeelight.const.DATA_UPDATED = "yeelight_{}_data_updated"
 
bool homeassistant.components.yeelight.const.DEFAULT_MODE_MUSIC = False
 
string homeassistant.components.yeelight.const.DEFAULT_NAME = "Yeelight"
 
bool homeassistant.components.yeelight.const.DEFAULT_NIGHTLIGHT_SWITCH = False
 
bool homeassistant.components.yeelight.const.DEFAULT_SAVE_ON_CHANGE = False
 
int homeassistant.components.yeelight.const.DEFAULT_TRANSITION = 350
 
int homeassistant.components.yeelight.const.DISCOVERY_ATTEMPTS = 3
 
 homeassistant.components.yeelight.const.DISCOVERY_INTERVAL = timedelta(seconds=60)
 
 homeassistant.components.yeelight.const.DISCOVERY_SEARCH_INTERVAL = timedelta(seconds=2)
 
int homeassistant.components.yeelight.const.DISCOVERY_TIMEOUT = 8
 
string homeassistant.components.yeelight.const.DOMAIN = "yeelight"
 
dictionary homeassistant.components.yeelight.const.MODELS_WITH_DELAYED_ON_TRANSITION
 
string homeassistant.components.yeelight.const.NIGHTLIGHT_SWITCH_TYPE_LIGHT = "light"
 
list homeassistant.components.yeelight.const.PLATFORMS = [Platform.BINARY_SENSOR, Platform.LIGHT]
 
int homeassistant.components.yeelight.const.POWER_STATE_CHANGE_TIME = 1
 
string homeassistant.components.yeelight.const.SSDP_ST = "wifi_bulb"
 
tuple homeassistant.components.yeelight.const.SSDP_TARGET = ("239.255.255.250", 1982)
 
float homeassistant.components.yeelight.const.STATE_CHANGE_TIME = 0.40
 
list homeassistant.components.yeelight.const.UPDATE_REQUEST_PROPERTIES
 
string homeassistant.components.yeelight.const.YEELIGHT_HSV_TRANSACTION = "HSVTransition"
 
string homeassistant.components.yeelight.const.YEELIGHT_RGB_TRANSITION = "RGBTransition"
 
string homeassistant.components.yeelight.const.YEELIGHT_SLEEP_TRANSACTION = "SleepTransition"
 
string homeassistant.components.yeelight.const.YEELIGHT_TEMPERATURE_TRANSACTION = "TemperatureTransition"