Merge pull request #1066 from TangoAlpha/dev

Update for new liffylights release
This commit is contained in:
Paulus Schoutsen 2016-01-31 08:32:51 -08:00
commit b21be63220
2 changed files with 4 additions and 2 deletions

View File

@ -16,7 +16,7 @@ from homeassistant.components.light import \
_LOGGER = logging.getLogger(__name__) _LOGGER = logging.getLogger(__name__)
REQUIREMENTS = ['liffylights==0.9.2'] REQUIREMENTS = ['liffylights==0.9.3']
DEPENDENCIES = [] DEPENDENCIES = []
CONF_SERVER = "server" # server address configuration item CONF_SERVER = "server" # server address configuration item
@ -58,6 +58,8 @@ class LIFX():
bulb = self.find_bulb(ipaddr) bulb = self.find_bulb(ipaddr)
if bulb is None: 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, bulb = LIFXLight(self._liffylights, ipaddr, name,
power, hue, sat, bri, kel) power, hue, sat, bri, kel)
self._devices.append(bulb) self._devices.append(bulb)

View File

@ -58,7 +58,7 @@ blinkstick==1.1.7
phue==0.8 phue==0.8
# homeassistant.components.light.lifx # homeassistant.components.light.lifx
liffylights==0.9.2 liffylights==0.9.3
# homeassistant.components.light.limitlessled # homeassistant.components.light.limitlessled
limitlessled==1.0.0 limitlessled==1.0.0