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:
Aaron Godfrey 2019-01-16 21:19:52 -08:00 committed by Paulus Schoutsen
parent bc8aa73448
commit 27a8171a8b

View file

@ -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."""