Upgrade pylint to 2.6.0 (#39363)
This commit is contained in:
1 parent
67de1d3466
commit
1bf2c4d976
52 files changed
+77
-86
No files matched your search
@@ -442,7 +442,6 @@ class LightEntity(ToggleEntity):
|
||||
data[ATTR_COLOR_TEMP] = self.color_temp
|
||||
|
||||
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] = (round(hs_color[0], 3), round(hs_color[1], 3))
|
||||
data[ATTR_RGB_COLOR] = color_util.color_hs_to_RGB(*hs_color)
|
||||
|
||||
Reference in new issue
Block a user