Closed 51av0sh closed 3 years ago
A little more context. I did a fresh install on a Raspberry Pi 4 B with the 64 bit version of 5.31
Also. I just tried removing and reinstalling using every version available and no matter which one I chose I get nothing under services for wyzesense. The only difference is I get the above config error on 0.11, 0.10, and 0.9 but on 0.8 and 0.7 the config check returns an error indicating the wyzesense service is not found:
Platform error binary_sensor.wyzesense - Integration 'wyzesense' not found.
Well. Looked over the code and noticed this line:
from retry import retry
Since my error was related I decided to manually install retry 0.9.2
https://pypi.org/project/retry/
pip install retry
I then installed wyzesense again, installed the bridge, rebooted.. and what do you know? No more errors and the service is now available :)
I hope this might help someone else. Cheers
A few days ago I migrated my pi setup from SD to SSD. Performed a full restore from my latest snapshot and had a few issues that needed to be fixed relating to the DB but everything else worked fine except the wyzesense integration. I can't get past the config check with the following error:
Platform error binary_sensor.wyzesense - cannot import name 'retry' from 'retry' (/usr/local/lib/python3.8/site-packages/retry/init.py)
I setup debug logging for the component but there is absolutely nothing in the logs about wyzesense or any errors
I've tried removing the integration, removing HACS, and reinstalling but no dice (several times). I'm lost at this point. Any suggestions?