Fix typo in light/__init__.py (#22581)
This commit is contained in:
1 parent
388d614e30
commit
800b1c7fe6
1 file changed
+1
-1
@@ -465,7 +465,7 @@ class Light(ToggleEntity):
|
||||
if supported_features & SUPPORT_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
|
||||
hs_color = self.hs_color
|
||||
data[ATTR_HS_COLOR] = (
|
||||
|
||||
Reference in new issue
Block a user