Wink/PubNub not updating

Let me take a quick look

1 Like

Looks like some method calls were changed that shouldn’t have. Can someone give this a shot.

unzip the above file in side of YOUR_HA_CONFIG_DIR/custom_components/ and make sure the folder name is wink

1 Like

That works for me in Hassio! Thanks!

2 Likes

Will upgrade, test and report back … thanks!!!

EDIT: This works, thank you so much!

On another note, I’m wondering why HA hasn’t considered supporting Sensi directly and not having to deal with Wink. https://github.com/kirbs-/sensi

1 Like

It’s working on hassos now also. Thank you.

2 Likes

That library looks super old, but might work. I have thought about doing this work my self, my father has a Sensi thermostat and I am trying to move him off of Wink to HA. Is there a Sensi Android app?

1 Like

I’ve got the sensi app on my android phone but it appears to not contact the thermostat but rather the sensi website that contacts the thermostat.

1 Like

Yeah that makes sense. I am assuming there is no local API for the thermostat? Could probably proxy the Android app with Charles and collect the API calls.

I’ll try that now

1 Like

There’s some more updated information here. Basically they have an API up, but it’s not really documented anywhere. They do have Android / IOS / and browser based control as well.

Okay, got another issue. Although I can now SEE the thermostat, I have lost control of it. This is all I get now:
Screenshot%20from%202019-07-18%2010-32-09

That’s strange, I can control. You installed the custom component?

This fixed my Sensi / HA integration, too. Thanks!

1 Like

Ha! Okay, when I went to the States page and pulled up the climate.condo entity, I had full control. I had the above on my Lovelace interface page until I did a “refresh” on it. Go figure.
But all is well now.

1 Like

Ah yes, the local browser cache can bite you after an update. I usually hold down Control and hit F5 in Chrome to force an “aggressive” refresh.

My sensors are all working BUT climate controls are not
Example:

Honeywell is no longer working

Did you install the custom component linked above? It won’t work without it on 0.96

@w1ll1am23 will you be able to correct the wink libraries on the next build?

Should be https://github.com/home-assistant/home-assistant/pull/25285

ok I uploaded the zip again into the wink folder under custom and its still throwing specific error on the climate…

Blockquote

Jul 18 2019 20:54:15 GMT-0400 (Eastern Daylight Time)
Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 365, in _async_add_entity
    await entity.async_update_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 226, in async_update_ha_state
    self._async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 256, in _async_write_ha_state
    attr.update(self.state_attributes or {})
  File "/usr/src/homeassistant/homeassistant/components/climate/__init__.py", line 221, in state_attributes
    data[ATTR_AUX_HEAT] = STATE_ON if self.is_aux_heat else STATE_OFF
  File "/config/custom_components/wink/climate.py", line 195, in is_aux_heat
    if self.wink.hvac_action_mode() == 'aux':
AttributeError: 'WinkThermostat' object has no attribute 'hvac_action_mode'

Yes I am using the zip from the above…

Oh good catch, that doesn’t look correct.