Update black to 23.1.0 (#87188)

This commit is contained in:
Franck Nijhof 2023-02-02 18:35:24 +01:00 committed by GitHub
parent f7666239ff
commit 5e81d28116
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
312 changed files with 299 additions and 475 deletions

View file

@ -296,7 +296,6 @@ class LIFXManager:
)
elif service == SERVICE_EFFECT_MORPH:
theme_name = kwargs.get(ATTR_THEME, "exciting")
palette = kwargs.get(ATTR_PALETTE, None)
@ -336,7 +335,6 @@ class LIFXManager:
)
elif service == SERVICE_EFFECT_PULSE:
effect = aiolifx_effects.EffectPulse(
power_on=kwargs.get(ATTR_POWER_ON),
period=kwargs.get(ATTR_PERIOD),
@ -347,7 +345,6 @@ class LIFXManager:
await self.effects_conductor.start(effect, bulbs)
elif service == SERVICE_EFFECT_COLORLOOP:
brightness = None
saturation_max = None
saturation_min = None
@ -378,7 +375,6 @@ class LIFXManager:
await self.effects_conductor.start(effect, bulbs)
elif service == SERVICE_EFFECT_STOP:
await self.effects_conductor.stop(bulbs)
for coordinator in coordinators: