From 800b1c7fe65fc4938273a16b923fb2ff4ec3f5da Mon Sep 17 00:00:00 2001 From: OleksandrBerchenko Date: Sun, 31 Mar 2019 14:43:54 +0300 Subject: [PATCH] Fix typo in light/__init__.py (#22581) --- homeassistant/components/light/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/light/__init__.py b/homeassistant/components/light/__init__.py index 7fe7ae343f9..e3971cd8e42 100644 --- a/homeassistant/components/light/__init__.py +++ b/homeassistant/components/light/__init__.py @@ -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] = (