From 210572405141c16f01f20444a56edaf269b7139c Mon Sep 17 00:00:00 2001 From: Aaron Godfrey <aaronjg@gmail.com> Date: Wed, 16 Jan 2019 18:12:36 -0800 Subject: [PATCH] Remove color call to set lights to black. 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. --- homeassistant/components/light/hyperion.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/homeassistant/components/light/hyperion.py b/homeassistant/components/light/hyperion.py index 16be7d45825..ebe209c745e 100644 --- a/homeassistant/components/light/hyperion.py +++ b/homeassistant/components/light/hyperion.py @@ -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."""