mirror of
https://github.com/home-assistant/core.git
synced 2025-08-13 17:45:19 +02:00
:( .. pyliny
This commit is contained in:
@@ -253,7 +253,7 @@ def setup(hass, config):
|
|||||||
# Without this check, a ctcolor with value '99' would work
|
# Without this check, a ctcolor with value '99' would work
|
||||||
# These values are based on Philips Hue, may need ajustment later
|
# These values are based on Philips Hue, may need ajustment later
|
||||||
if isinstance(colortemp, int) and 154 <= colortemp <= 500:
|
if isinstance(colortemp, int) and 154 <= colortemp <= 500:
|
||||||
params[ATTR_COLOR_TEMP] = colortemp
|
params[ATTR_COLOR_TEMP] = colortemp
|
||||||
|
|
||||||
if ATTR_RGB_COLOR in dat:
|
if ATTR_RGB_COLOR in dat:
|
||||||
try:
|
try:
|
||||||
|
Reference in New Issue
Block a user