typo
This commit is contained in:
parent
9fd86977c7
commit
dde0b579b2
1 changed files with 2 additions and 2 deletions
|
@ -118,9 +118,9 @@ class LightHuePlugin(LightPlugin):
|
||||||
if attr == 'scene':
|
if attr == 'scene':
|
||||||
self.bridge.run_scene(groups[0], kwargs.pop('name'))
|
self.bridge.run_scene(groups[0], kwargs.pop('name'))
|
||||||
elif groups:
|
elif groups:
|
||||||
self.bridge.set_group(groups, attr)
|
self.bridge.set_group(groups, attr, *args)
|
||||||
elif lights:
|
elif lights:
|
||||||
self.bridge.set_light(lights, attr)
|
self.bridge.set_light(lights, attr, *args)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
# Reset bridge connection
|
# Reset bridge connection
|
||||||
self.bridge = None
|
self.bridge = None
|
||||||
|
|
Loading…
Reference in a new issue