Classes | |
| class | HueLight |
Functions | |
| def | async_safe_fetch (bridge, fetch_method) |
| def | async_setup_entry (hass, config_entry, async_add_entities) |
| def | async_setup_platform (hass, config, async_add_entities, discovery_info=None) |
| def | async_update_items (bridge, api, current, async_add_entities, create_item, new_items_callback) |
| def | create_light (item_class, coordinator, bridge, is_group, rooms, api, item_id) |
| def | hass_to_hue_brightness (value) |
| def | hue_brightness_to_hass (value) |
Variables | |
| string | ATTR_IS_HUE_GROUP = "is_hue_group" |
| dictionary | COLOR_MODES_HUE |
| dictionary | COLOR_MODES_HUE_COLOR = {ColorMode.HS} |
| dictionary | COLOR_MODES_HUE_COLOR_TEMP = {ColorMode.COLOR_TEMP} |
| dictionary | COLOR_MODES_HUE_DIMMABLE = {ColorMode.BRIGHTNESS} |
| dictionary | COLOR_MODES_HUE_EXTENDED = {ColorMode.COLOR_TEMP, ColorMode.HS} |
| dictionary | COLOR_MODES_HUE_ON_OFF = {ColorMode.ONOFF} |
| string | GAMUT_TYPE_UNAVAILABLE = "None" |
| tuple | GROUP_MIN_API_VERSION = (1, 13, 0) |
| LOGGER = logging.getLogger(__name__) | |
| SCAN_INTERVAL = timedelta(seconds=5) | |
| dictionary | SUPPORT_HUE |
| SUPPORT_HUE_COLOR = SUPPORT_HUE_DIMMABLE | LightEntityFeature.EFFECT | |
| SUPPORT_HUE_COLOR_TEMP = SUPPORT_HUE_DIMMABLE | |
| SUPPORT_HUE_DIMMABLE = SUPPORT_HUE_ON_OFF | |
| SUPPORT_HUE_EXTENDED = SUPPORT_HUE_COLOR_TEMP | SUPPORT_HUE_COLOR | |
| SUPPORT_HUE_ON_OFF = LightEntityFeature.FLASH | LightEntityFeature.TRANSITION | |
Support for the Philips Hue lights.
| 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 | ) |
| 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 |