From 27a8171a8b3056c1347ca8b86903845bfd7d2dc8 Mon Sep 17 00:00:00 2001 From: Aaron Godfrey Date: Wed, 16 Jan 2019 21:19:52 -0800 Subject: [PATCH] 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. --- 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."""