Remove color call to set lights to black. (#20176)
Calling clear all is enough to turn off the light. Calling the color command makes the light no longer function until clear all is called again. The component calls clear all beforing turning it on which is why it works through home assistant. However if you try to control the light via the hyperion app or through kodi after it has been turned off via home assistant it will not function until you call clear all again.
This commit is contained in:
parent
bc8aa73448
commit
27a8171a8b
1 changed files with 0 additions and 5 deletions
|
@ -177,11 +177,6 @@ class Hyperion(Light):
|
|||
def turn_off(self, **kwargs):
|
||||
"""Disconnect all remotes."""
|
||||
self.json_request({'command': 'clearall'})
|
||||
self.json_request({
|
||||
'command': 'color',
|
||||
'priority': self._priority,
|
||||
'color': [0, 0, 0]
|
||||
})
|
||||
|
||||
def update(self):
|
||||
"""Get the lights status."""
|
||||
|
|
Loading…
Add table
Reference in a new issue