Remove unnnecessary pylint configs from components [e-l]* (#99004)
This commit is contained in:
parent
960d66e168
commit
e7b6037419
37 changed files with 13 additions and 56 deletions
|
@ -181,7 +181,6 @@ class EsphomeLight(EsphomeEntity[LightInfo, LightState], LightEntity):
|
|||
try_keep_current_mode = False
|
||||
|
||||
if (rgbw_ha := kwargs.get(ATTR_RGBW_COLOR)) is not None:
|
||||
# pylint: disable-next=invalid-name
|
||||
*rgb, w = tuple(x / 255 for x in rgbw_ha) # type: ignore[assignment]
|
||||
color_bri = max(rgb)
|
||||
# normalize rgb
|
||||
|
@ -194,7 +193,6 @@ class EsphomeLight(EsphomeEntity[LightInfo, LightState], LightEntity):
|
|||
try_keep_current_mode = False
|
||||
|
||||
if (rgbww_ha := kwargs.get(ATTR_RGBWW_COLOR)) is not None:
|
||||
# pylint: disable-next=invalid-name
|
||||
*rgb, cw, ww = tuple(x / 255 for x in rgbww_ha) # type: ignore[assignment]
|
||||
color_bri = max(rgb)
|
||||
# normalize rgb
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue