mirror of
https://github.com/home-assistant/core.git
synced 2025-07-24 21:57:51 +00:00
:( .. pyliny
This commit is contained in:
parent
194c6343ac
commit
b76471c4b3
@ -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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user