forked from platypush/platypush
typo
This commit is contained in:
parent
fa4ed7c95c
commit
248b1c37b2
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ class LightHuePlugin(LightPlugin):
|
||||||
return self._exec('on', True, lights=lights, groups=groups)
|
return self._exec('on', True, lights=lights, groups=groups)
|
||||||
|
|
||||||
def off(self, lights=[], groups=[]):
|
def off(self, lights=[], groups=[]):
|
||||||
return self._exec('off', False, lights=lights, groups=groups)
|
return self._exec('on', False, lights=lights, groups=groups)
|
||||||
|
|
||||||
def bri(self, value, lights=[], groups=[]):
|
def bri(self, value, lights=[], groups=[]):
|
||||||
return self._exec('bri', int(value) % (self.MAX_BRI+1),
|
return self._exec('bri', int(value) % (self.MAX_BRI+1),
|
||||||
|
|
Loading…
Reference in a new issue