mirror of
https://github.com/home-assistant/core.git
synced 2025-07-24 21:57:51 +00:00
consolidate conditionals
This commit is contained in:
parent
3cd89f8474
commit
566712023d
@ -162,7 +162,6 @@ class RGBWLimitlessLED(LimitlessLED):
|
|||||||
|
|
||||||
effect = kwargs.get(ATTR_EFFECT)
|
effect = kwargs.get(ATTR_EFFECT)
|
||||||
|
|
||||||
if effect:
|
|
||||||
if effect == EFFECT_COLORLOOP:
|
if effect == EFFECT_COLORLOOP:
|
||||||
self.pool.execute(self.controller_id, "disco", self.group)
|
self.pool.execute(self.controller_id, "disco", self.group)
|
||||||
if effect == EFFECT_WHITE:
|
if effect == EFFECT_WHITE:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user