Fix typo in light docs
This commit is contained in:
parent
454688cc17
commit
557dae7ab3
1 changed files with 2 additions and 2 deletions
|
@ -227,7 +227,7 @@ def setup(hass, config):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
if ATTR_COLOR_TEMP in dat:
|
if ATTR_COLOR_TEMP in dat:
|
||||||
# color_temp should be an int of mirads value
|
# color_temp should be an int of mireds value
|
||||||
colortemp = dat.get(ATTR_COLOR_TEMP)
|
colortemp = dat.get(ATTR_COLOR_TEMP)
|
||||||
|
|
||||||
# Without this check, a ctcolor with value '99' would work
|
# Without this check, a ctcolor with value '99' would work
|
||||||
|
@ -298,7 +298,7 @@ class Light(ToggleEntity):
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def color_temp(self):
|
def color_temp(self):
|
||||||
"""Return the CT color value in mirads."""
|
"""Return the CT color value in mireds."""
|
||||||
return None
|
return None
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
|
Loading…
Add table
Reference in a new issue