Initialize the animation groups map only if groups was specified
This commit is contained in:
parent
c4f4d61851
commit
6aa13a10cb
1 changed files with 3 additions and 2 deletions
|
@ -775,6 +775,7 @@ class LightHuePlugin(LightPlugin):
|
|||
'transition_seconds': transition_seconds,
|
||||
}
|
||||
|
||||
if groups:
|
||||
for g in groups:
|
||||
self.animations['groups'][g.group_id] = info
|
||||
|
||||
|
|
Loading…
Reference in a new issue