From 1974eda51d61c35a543ca8463b11ccea32300453 Mon Sep 17 00:00:00 2001 From: Tim Date: Sun, 31 Jan 2016 13:31:12 +0000 Subject: [PATCH] Update for new liffylights release Fix incorrect packet timeout/ack code causing flooding when no bulbs were online, which consumed all WorkerPool threads --- homeassistant/components/light/lifx.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/homeassistant/components/light/lifx.py b/homeassistant/components/light/lifx.py index 79c019c8417..cb7e8cbf647 100644 --- a/homeassistant/components/light/lifx.py +++ b/homeassistant/components/light/lifx.py @@ -28,7 +28,7 @@ from homeassistant.components.light import \ _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['liffylights==0.9.2'] +REQUIREMENTS = ['liffylights==0.9.3'] DEPENDENCIES = [] CONF_SERVER = "server" # server address configuration item @@ -70,6 +70,8 @@ class LIFX(): bulb = self.find_bulb(ipaddr) if bulb is None: + _LOGGER.debug("new bulb %s %s %d %d %d %d %d", + ipaddr, name, power, hue, sat, bri, kel) bulb = LIFXLight(self._liffylights, ipaddr, name, power, hue, sat, bri, kel) self._devices.append(bulb)