OSRAM Lightify no longer working in 0.40

I updated to 0.40 and my OSRAM Lightify is no longer being recognized. I am receiving the following errors in my log. Does anyone have a solution or work around?

17-03-13 10:21:52 ERROR (MainThread) [homeassistant.components.light] Error while setting up platform osramlightify
Traceback (most recent call last):
File “/srv/hass/hass_venv/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py”, line 153, in _async_setup_platform
entity_platform.schedule_add_entities, discovery_info
File “/usr/lib/python3.4/asyncio/futures.py”, line 388, in iter
yield self # This tells Task to wait for completion.
File “/usr/lib/python3.4/asyncio/tasks.py”, line 286, in _wakeup
value = future.result()
File “/usr/lib/python3.4/asyncio/futures.py”, line 277, in result
raise self._exception
File “/usr/lib/python3.4/concurrent/futures/thread.py”, line 54, in run
result = self.fn(*self.args, **self.kwargs)
File “/srv/hass/hass_venv/lib/python3.4/site-packages/homeassistant/components/light/osramlightify.py”, line 53, in setup_platform
setup_bridge(bridge, add_devices)
File “/srv/hass/hass_venv/lib/python3.4/site-packages/homeassistant/components/light/osramlightify.py”, line 83, in setup_bridge
update_lights()
File “/srv/hass/hass_venv/lib/python3.4/site-packages/homeassistant/util/init.py”, line 296, in wrapper
result = method(*args, **kwargs)
File “/srv/hass/hass_venv/lib/python3.4/site-packages/homeassistant/util/init.py”, line 296, in wrapper
result = method(*args, **kwargs)
File “/srv/hass/hass_venv/lib/python3.4/site-packages/homeassistant/components/light/osramlightify.py”, line 73, in update_lights
update_lights)
File “/srv/hass/hass_venv/lib/python3.4/site-packages/homeassistant/components/light/osramlightify.py”, line 99, in init
self.update()
File “/srv/hass/hass_venv/lib/python3.4/site-packages/homeassistant/components/light/osramlightify.py”, line 218, in update
self._temperature = color_temperature_kelvin_to_mired(o_temp)
File “/srv/hass/hass_venv/lib/python3.4/site-packages/homeassistant/util/color.py”, line 387, in color_temperature_kelvin_to_mired
return 1000000 / kelvin_temperature
ZeroDivisionError: division by zero

I’m using Lightify but I haven’t upgraded to 0.40 yet. I’ll post here once I do.

I opened an issue here -> https://github.com/home-assistant/home-assistant/issues/6578

Having the same issue:

17-03-13 17:58:24 ERROR (MainThread) [homeassistant.components.light] Error while setting up platform osramlightify
Traceback (most recent call last):
File “/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py”, line 153, in _async_setup_platform
entity_platform.schedule_add_entities, discovery_info
File “/usr/lib/python3.4/asyncio/futures.py”, line 388, in iter
yield self # This tells Task to wait for completion.
File “/usr/lib/python3.4/asyncio/tasks.py”, line 286, in _wakeup
value = future.result()
File “/usr/lib/python3.4/asyncio/futures.py”, line 277, in result
raise self._exception
File “/usr/lib/python3.4/concurrent/futures/thread.py”, line 54, in run
result = self.fn(*self.args, **self.kwargs)
File “/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/light/osramlightify.py”, line 53, in setup_platform
setup_bridge(bridge, add_devices)
File “/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/light/osramlightify.py”, line 83, in setup_bridge
update_lights()
File “/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/util/init.py”, line 296, in wrapper
result = method(*args, **kwargs)
File “/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/util/init.py”, line 296, in wrapper
result = method(*args, **kwargs)
File “/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/light/osramlightify.py”, line 73, in update_lights
update_lights)
File “/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/light/osramlightify.py”, line 99, in init
self.update()
File “/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/light/osramlightify.py”, line 218, in update
self._temperature = color_temperature_kelvin_to_mired(o_temp)
File “/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/util/color.py”, line 387, in color_temperature_kelvin_to_mired
return 1000000 / kelvin_temperature
ZeroDivisionError: division by zero

Any Ideas?

bG

It appears there was a prior issue created for this. If you are following be sure to follow this one -> https://github.com/home-assistant/home-assistant/issues/6534