Classes | |
| class | DeconzBaseLight |
| class | DeconzGroup |
| class | DeconzLight |
| class | SetStateAttributes |
Functions | |
| None | __init__ (self, _LightDeviceT device, DeconzHub hub) |
| None | async_setup_entry (HomeAssistant hass, ConfigEntry config_entry, AddEntitiesCallback async_add_entities) |
| None | async_turn_off (self, **Any kwargs) |
| None | async_turn_on (self, **Any kwargs) |
| int|None | brightness (self) |
| str|None | color_mode (self) |
| int|None | color_temp (self) |
| dict[str, bool] | extra_state_attributes (self) |
| tuple[float, float]|None | hs_color (self) |
| bool|None | is_on (self) |
| None | update_color_state (Group group, list[Light] lights, bool override=False) |
| tuple[float, float]|None | xy_color (self) |
Variables | |
| _attr_color_mode = ColorMode.UNKNOWN | |
| _attr_effect_list | |
| api | |
| string | DECONZ_GROUP = "is_deconz_group" |
| dictionary | DECONZ_TO_COLOR_MODE |
| dictionary | EFFECT_TO_DECONZ |
| dictionary | FLASH_TO_DECONZ = {FLASH_SHORT: LightAlert.SHORT, FLASH_LONG: LightAlert.LONG} |
| TYPE = LIGHT_DOMAIN | |
| list | XMAS_LIGHT_EFFECTS |
Support for deCONZ lights.
| None homeassistant.components.deconz.light.__init__ | ( | self, | |
| _LightDeviceT | device, | ||
| DeconzHub | hub | ||
| ) |
| None homeassistant.components.deconz.light.async_setup_entry | ( | HomeAssistant | hass, |
| ConfigEntry | config_entry, | ||
| AddEntitiesCallback | async_add_entities | ||
| ) |
| None homeassistant.components.deconz.light.async_turn_off | ( | self, | |
| **Any | kwargs | ||
| ) |
| None homeassistant.components.deconz.light.async_turn_on | ( | self, | |
| **Any | kwargs | ||
| ) |
| int | None homeassistant.components.deconz.light.brightness | ( | self | ) |
| str | None homeassistant.components.deconz.light.color_mode | ( | self | ) |
| int | None homeassistant.components.deconz.light.color_temp | ( | self | ) |
| dict[str, bool] homeassistant.components.deconz.light.extra_state_attributes | ( | self | ) |
| tuple[float, float] | None homeassistant.components.deconz.light.hs_color | ( | self | ) |
| bool | None homeassistant.components.deconz.light.is_on | ( | self | ) |
| None homeassistant.components.deconz.light.update_color_state | ( | Group | group, |
| list[Light] | lights, | ||
| bool | override = False |
||
| ) |
| tuple[float, float] | None homeassistant.components.deconz.light.xy_color | ( | self | ) |
|
private |
|
private |
| string homeassistant.components.deconz.light.DECONZ_GROUP = "is_deconz_group" |
| dictionary homeassistant.components.deconz.light.DECONZ_TO_COLOR_MODE |
| dictionary homeassistant.components.deconz.light.EFFECT_TO_DECONZ |
| dictionary homeassistant.components.deconz.light.FLASH_TO_DECONZ = {FLASH_SHORT: LightAlert.SHORT, FLASH_LONG: LightAlert.LONG} |
| homeassistant.components.deconz.light.TYPE = LIGHT_DOMAIN |
| list homeassistant.components.deconz.light.XMAS_LIGHT_EFFECTS |