forked from home-assistant/core
consolidate conditionals
This commit is contained in:
@@ -162,7 +162,6 @@ class RGBWLimitlessLED(LimitlessLED):
|
||||
|
||||
effect = kwargs.get(ATTR_EFFECT)
|
||||
|
||||
if effect:
|
||||
if effect == EFFECT_COLORLOOP:
|
||||
self.pool.execute(self.controller_id, "disco", self.group)
|
||||
if effect == EFFECT_WHITE:
|
||||
|
Reference in New Issue
Block a user