mirror of
https://github.com/home-assistant/core.git
synced 2025-08-15 02:21:40 +02:00
consolidate conditionals
This commit is contained in:
@@ -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:
|
||||||
|
Reference in New Issue
Block a user