mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 08:47:57 +00:00
Set default min/max color temperature in deconz lights (#133333)
This commit is contained in:
parent
06f6869da5
commit
f2674f3262
@ -18,6 +18,8 @@ from homeassistant.components.light import (
|
||||
ATTR_HS_COLOR,
|
||||
ATTR_TRANSITION,
|
||||
ATTR_XY_COLOR,
|
||||
DEFAULT_MAX_KELVIN,
|
||||
DEFAULT_MIN_KELVIN,
|
||||
DOMAIN as LIGHT_DOMAIN,
|
||||
EFFECT_COLORLOOP,
|
||||
FLASH_LONG,
|
||||
@ -191,6 +193,8 @@ class DeconzBaseLight[_LightDeviceT: Group | Light](
|
||||
|
||||
TYPE = LIGHT_DOMAIN
|
||||
_attr_color_mode = ColorMode.UNKNOWN
|
||||
_attr_min_color_temp_kelvin = DEFAULT_MIN_KELVIN
|
||||
_attr_max_color_temp_kelvin = DEFAULT_MAX_KELVIN
|
||||
|
||||
def __init__(self, device: _LightDeviceT, hub: DeconzHub) -> None:
|
||||
"""Set up light."""
|
||||
|
Loading…
x
Reference in New Issue
Block a user