Home Assistant Unofficial Reference 2024.12.1
light.py File Reference

Go to the source code of this file.

Classes

class  homeassistant.components.hue.v1.light.HueLight
 

Namespaces

 homeassistant.components.hue.v1.light
 

Functions

def homeassistant.components.hue.v1.light.async_safe_fetch (bridge, fetch_method)
 
def homeassistant.components.hue.v1.light.async_setup_entry (hass, config_entry, async_add_entities)
 
def homeassistant.components.hue.v1.light.async_setup_platform (hass, config, async_add_entities, discovery_info=None)
 
def homeassistant.components.hue.v1.light.async_update_items (bridge, api, current, async_add_entities, create_item, new_items_callback)
 
def homeassistant.components.hue.v1.light.create_light (item_class, coordinator, bridge, is_group, rooms, api, item_id)
 
def homeassistant.components.hue.v1.light.hass_to_hue_brightness (value)
 
def homeassistant.components.hue.v1.light.hue_brightness_to_hass (value)
 

Variables

string homeassistant.components.hue.v1.light.ATTR_IS_HUE_GROUP = "is_hue_group"
 
dictionary homeassistant.components.hue.v1.light.COLOR_MODES_HUE
 
dictionary homeassistant.components.hue.v1.light.COLOR_MODES_HUE_COLOR = {ColorMode.HS}
 
dictionary homeassistant.components.hue.v1.light.COLOR_MODES_HUE_COLOR_TEMP = {ColorMode.COLOR_TEMP}
 
dictionary homeassistant.components.hue.v1.light.COLOR_MODES_HUE_DIMMABLE = {ColorMode.BRIGHTNESS}
 
dictionary homeassistant.components.hue.v1.light.COLOR_MODES_HUE_EXTENDED = {ColorMode.COLOR_TEMP, ColorMode.HS}
 
dictionary homeassistant.components.hue.v1.light.COLOR_MODES_HUE_ON_OFF = {ColorMode.ONOFF}
 
string homeassistant.components.hue.v1.light.GAMUT_TYPE_UNAVAILABLE = "None"
 
tuple homeassistant.components.hue.v1.light.GROUP_MIN_API_VERSION = (1, 13, 0)
 
 homeassistant.components.hue.v1.light.LOGGER = logging.getLogger(__name__)
 
 homeassistant.components.hue.v1.light.SCAN_INTERVAL = timedelta(seconds=5)
 
dictionary homeassistant.components.hue.v1.light.SUPPORT_HUE
 
 homeassistant.components.hue.v1.light.SUPPORT_HUE_COLOR = SUPPORT_HUE_DIMMABLE | LightEntityFeature.EFFECT
 
 homeassistant.components.hue.v1.light.SUPPORT_HUE_COLOR_TEMP = SUPPORT_HUE_DIMMABLE
 
 homeassistant.components.hue.v1.light.SUPPORT_HUE_DIMMABLE = SUPPORT_HUE_ON_OFF
 
 homeassistant.components.hue.v1.light.SUPPORT_HUE_EXTENDED = SUPPORT_HUE_COLOR_TEMP | SUPPORT_HUE_COLOR
 
 homeassistant.components.hue.v1.light.SUPPORT_HUE_ON_OFF = LightEntityFeature.FLASH | LightEntityFeature.TRANSITION