mirror of
https://github.com/home-assistant/core.git
synced 2025-08-04 13:15:18 +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:
|
||||
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