Fix typo in light/__init__.py (#22581)

This commit is contained in:
OleksandrBerchenko 2019-03-31 14:43:54 +03:00 committed by Anders Melchiorsen
parent 388d614e30
commit 800b1c7fe6

View File

@ -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] = (