mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +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)
|
||||
|
||||
if effect:
|
||||
if effect == EFFECT_COLORLOOP:
|
||||
self.pool.execute(self.controller_id, "disco", self.group)
|
||||
if effect == EFFECT_WHITE:
|
||||
|
Loading…
x
Reference in New Issue
Block a user