mirror of
https://github.com/home-assistant/core.git
synced 2025-08-04 05:05:09 +02:00
Fix typo in light/__init__.py (#22581)
This commit is contained in:
committed by
Anders Melchiorsen
parent
388d614e30
commit
800b1c7fe6
@@ -465,7 +465,7 @@ class Light(ToggleEntity):
|
|||||||
if supported_features & SUPPORT_COLOR_TEMP:
|
if supported_features & SUPPORT_COLOR_TEMP:
|
||||||
data[ATTR_COLOR_TEMP] = self.color_temp
|
data[ATTR_COLOR_TEMP] = self.color_temp
|
||||||
|
|
||||||
if self.supported_features & SUPPORT_COLOR and self.hs_color:
|
if supported_features & SUPPORT_COLOR and self.hs_color:
|
||||||
# pylint: disable=unsubscriptable-object,not-an-iterable
|
# pylint: disable=unsubscriptable-object,not-an-iterable
|
||||||
hs_color = self.hs_color
|
hs_color = self.hs_color
|
||||||
data[ATTR_HS_COLOR] = (
|
data[ATTR_HS_COLOR] = (
|
||||||
|
Reference in New Issue
Block a user