mirror of
https://github.com/home-assistant/core.git
synced 2025-07-10 06:47:09 +00:00
Fixes for new release PyLint
This commit is contained in:
parent
284500ff21
commit
cdeceb140d
@ -190,7 +190,6 @@ def setup(hass, config):
|
|||||||
|
|
||||||
if service.service == SERVICE_TURN_OFF:
|
if service.service == SERVICE_TURN_OFF:
|
||||||
for light in target_lights:
|
for light in target_lights:
|
||||||
# pylint: disable=star-args
|
|
||||||
light.turn_off(**params)
|
light.turn_off(**params)
|
||||||
|
|
||||||
else:
|
else:
|
||||||
@ -248,7 +247,6 @@ def setup(hass, config):
|
|||||||
params[ATTR_FLASH] = FLASH_LONG
|
params[ATTR_FLASH] = FLASH_LONG
|
||||||
|
|
||||||
for light in target_lights:
|
for light in target_lights:
|
||||||
# pylint: disable=star-args
|
|
||||||
light.turn_on(**params)
|
light.turn_on(**params)
|
||||||
|
|
||||||
for light in target_lights:
|
for light in target_lights:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user