Unable to Load WINK after Upgrade

Hello - WINK was working fine until I upgraded to 48.1

2017-07-12 18:26:09 ERROR (MainThread) [homeassistant.setup] Not initializing wink because could not install dependency python-wink==1.2.4
2017-07-12 18:26:09 ERROR (MainThread) [homeassistant.setup] Setup failed for wink: Could not install all requirements.

I’ve attempted to manually install the dependency with no luck.

What error do you get when you manually try to install it? If you are using a virtualenv make sure you activate it prior to trying the install.

It installs in the virtual env (activated) but I still get the same error in the log when I restart HA. I attempted to do an upgrade with no avail as well.

Hmm take a look at this thread over here Wink client_id/client_secret setup isn't working and try to use the newest “still in dev” wink.py. all of the info on how should be there.

That will attempt to use the newest python-wink as well which is version 1.2.6

Thank you! I will give this a whirl today (sorry been busy with a newborn).

So you are aware - I gave this a whirl today with no success. I put the wink.py file in custom_components in config directory.

Can you try to use the wink.py from the dev branch? There was a bug in the one linked above.

Oddly, no issues with Wink until yesterday. Worked immediately after initial upgrade to 0.49.1, stopped HASS, made config change, and didn’t work again. My issue was that everything would appear to work, but the startup never would get to the initialization of my automation rules. Debug logging didn’t help me.

I spent the past few hours trying to track down the issue until I finally started commenting out components in hopes of narrowing down the culprit. Wink has the biggest amount of devices for me so I started there and voila! I read this post last night and ruled this out because it worked great on 0.48 and 0.49 and even once on 0.49.1…

Can confirm though, that the Dev branch does fix the issue that I saw.

Hi JW - how exactly did you go about resolving using the Dev branch.