Wink lights incorrect status

Ever since I upgraded to 0.18.2, the status of my Wink controlled lights isn’t updating properly. If I turn them on or off via HA, everything works as it should, until the next time Wink is polled, then the indication returns to its previous state. This is only happening with lights, binary switches and sensors paired to Wink are working fine. The correct state is being reflected in the Wink app as well. Any ideas??

I am having the same issue! Lights respond to commands issued via HA, however if a lutron switch is turned on manually, the service is not noticed in HA.

Is anyone else experiencing issues with their wink not reporting state changes in HA?

Having the same issue as well.

I’m having this same issue as well. Lights are functioning fine (both bulbs and switches) but their status are incorrect since updating to 0.18.2. The only way to get them to show up correctly is to run the scene again, the scene had already been set so nothing physically changes but the status then shows up correctly in HA.

Looks like this has something to do with the error, from the log on the about page:

16-04-27 22:17:37 homeassistant.core: BusHandler:Exception doing job
Traceback (most recent call last):
  File "/usr/local/lib/python3.4/dist-packages/homeassistant/core.py", line 801, in job_handler
    func(arg)
  File "/usr/local/lib/python3.4/dist-package`indent preformatted text by 4 spaces`s/homeassistant/helpers/event.py", line 176, in pattern_time_change_listener
    action(now)
  File "/usr/local/lib/python3.4/dist-packages/homeassistant/helpers/entity_component.py", line 169, in _update_entity_states
    entity.update_ha_state(True)
  File "/usr/local/lib/python3.4/dist-packages/homeassistant/helpers/entity.py", line 145, in update_ha_state
    self.update()
  File "/usr/local/lib/python3.4/dist-packages/homeassistant/components/light/wink.py", line 116, in update
    self.wink.update_state(require_desired_state_fulfilled=True)
  File "/home/pi/.homeassistant/deps/pywink/devices/base.py", line 53, in update_state
    response = self.api_interface.get_device_state(self)
  File "/home/pi/.homeassistant/deps/pywink/api.py", line 42, in get_device_state
    return arequest.json()
  File "/usr/local/lib/python3.4/dist-packages/requests/models.py", line 808, in json
    return complexjson.loads(self.text, **kwargs)
  File "/usr/lib/python3.4/json/__init__.py", line 318, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python3.4/json/decoder.py", line 343, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python3.4/json/decoder.py", line 361, in raw_decode
    raise ValueError(errmsg("Expecting value", s, err.value)) from None
ValueError: Expecting value: line 1 column 1 (char 0)

I think I read someplace, that they are planing to have HomeAssistant interact directly with the Wink hub itself, rather than rely on repeated service calls to the api. Maybe this work is the cause of the breakage?

Thanks

I raised this issue on the python-wink github.

https://github.com/bradsk88/python-wink/issues/35

I believe it’s been fixed.

Thanks! Look forward to the HA update with the fix.