Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ready for Python 3.10? #226

Closed
Joeviocoe opened this issue Jul 8, 2022 · 12 comments
Closed

Ready for Python 3.10? #226

Joeviocoe opened this issue Jul 8, 2022 · 12 comments

Comments

@Joeviocoe
Copy link

Am I the only one still running v1 WyzeSense sensors?
I got a TI LaunchPad CC1310 just to keep these sensors going (unbricking).

Anyway, Home Assistant has upgraded to Python 3.10, and before I update, I want to make sure it won't break the ha_wyzesense component. Any way to test just the component without upgrading HA?

@bschatzow
Copy link

I still have version 1 hub and both version 1 and 2 sensors. No issues for me with the update.

@Joeviocoe
Copy link
Author

Thanks. Just to confirm, you are upgraded to Home Assistant Core 2022.7.0 or 2022.7.1? And inside your HA (or docker: docker exec -t -i homeassistant /bin/bash) if you run python -V, you get 3.10?

@bschatzow
Copy link

I am on HAOS 2022.7.1, OS 8.3. This includes the latest python version which was tested during the beta release

@sweichbr
Copy link

Just curious. Don't know if it's related to the update but all my wyze sensors no longer report battery level and the bridge led is off

@bschatzow
Copy link

Try a shutdown and restart. If bridge is off it isn't working.

@sweichbr
Copy link

Have tried that. Plus the sensors themselves are still triggering, just the attributes that are missing.

@bschatzow
Copy link

bschatzow commented Jul 12, 2022

The attribute issue is a different issue. You need to fix it. Go to the wyzesense GitHub site and you will find directions there. 'device_state_attributes' is deprecated starting with HA 2021.12.0 replaced 'device_state_attributes' with 'extra_state_attributes' in the [binary_sensor.py file. There maybe a fork done for this where the file is changed. If not, edit your file with a text editor and make the change.

I have never seen the bridge LED off if it is working. Usually green if working correctly or yellow if not. Mine has never been off.

@sweichbr
Copy link

Thanks so much. That fixed it.

Sorry for hijacking the thread.

@ctrl50
Copy link

ctrl50 commented Jul 22, 2022

I run ha in a venv on ubuntu 22.04 and have had python 3.10.4 running for months no issues.

@Joeviocoe
Copy link
Author

Thank you. I've upgraded and it works.

@sweichbr
Copy link

sweichbr commented Oct 11, 2022 via email

@stanwebber
Copy link

i run on my own fork with v1 door and motion sensors. i was stuck on core-2022.4.7 for a long time, but recently upgraded to core-2022.10.3 on hassos 9.2. other than needing to recover the mac on 1 of my door sensors (currently working with 00000000 mac), i can report no other issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants