-
Notifications
You must be signed in to change notification settings - Fork 100
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
Battery Attributes not working #227
Comments
@sweichbr I saw your post on another issue, could you please share the instructions? I edited the binary_sensor.py in my /config/custom_components/wyzesense/ changed device_state_attributes to extra_state_attributes rebooted HA but still not working. |
I found that you had to trigger each of the sensors. Probably because they don't report in unless there is an event (likely to save battery). |
Can you paste your fix for this problem, been awhile since the batt reported in. |
Hey, I'm having the same issue with motion and contact sensors. My sensors suddenly stopped responded so I removed and then added them back. It worked however they came back without battery and RSI attributes. I made sure the sensor were being triggered to initiate the attributes. And I checked back a day after to see if they are added after a delay. No luck. I tried changing /config/custom_components/wyzesense/ changed device_state_attributes to extra_state_attributes Strangely this fixed for the motion sensor but not the contact sensors... Any idea for how to fix battery for contact sensors? |
same issue here
Bell
SM-G996W
…________________________________
From: jdubz666 ***@***.***>
Sent: Tuesday, February 28, 2023 10:00:57 PM
To: kevinvincent/ha-wyzesense ***@***.***>
Cc: onebyside ***@***.***>; Comment ***@***.***>
Subject: Re: [kevinvincent/ha-wyzesense] Battery Attributes not working (Issue #227)
Hey,
I'm having the same issue with motion and contact sensors.
My sensors suddenly stopped responded so I removed and then added them back. It worked however they came back without battery and RSI attributes.
I made sure the sensor were being triggered to initiate the attributes. And I checked back a day after to see if they are added after a delay. No luck.
I tried changing /config/custom_components/wyzesense/ changed device_state_attributes to extra_state_attributes
Strangely this fixed for the motion sensor but not the contact sensors...
Any idea for how to fix battery for contact sensors?
—
Reply to this email directly, view it on GitHub<#227 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AK3CXEYK6XEX53GUAXH3WKTWZ23WTANCNFSM53UMBRFQ>.
You are receiving this because you commented.Message ID: ***@***.***>
|
For anyone still using this integration. I've updated the code to resolve all of the errors I found. You can try my new code if you'd like: https://github.com/stewjoel/ha-wyzesense/ |
Thank you for this…my integration has been broken for a while.
However, I am getting this when I download the integration:
“The version 8762ee3 for this integration can not be used with HACS.”
Any suggestions?
From: stewjoel ***@***.***>
Date: Sunday, November 3, 2024 at 6:11 PM
To: kevinvincent/ha-wyzesense ***@***.***>
Cc: sweichbr ***@***.***>, Mention ***@***.***>
Subject: Re: [kevinvincent/ha-wyzesense] Battery Attributes not working (Issue #227)
For anyone still using this integration. I've updated the code to resolve all of the errors I found. You can try my new code if you'd like: https://github.com/stewjoel/ha-wyzesense/
—
Reply to this email directly, view it on GitHub<#227 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AKI5HDF624EX676DXXHG7ATZ62NRFAVCNFSM6AAAAABRDFQBN6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINJTGYYTEOJVGI>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Worked fine here, pasted it in and restarted. |
yeah, i also get a similar repository download/update error after applying stewjoel's modifications to my fork's binary_sensor.py file. manually copying the new binary_sensor.py to the custom_components folder works just fine, but installing thru hacs seems to be broken now. i don't know enough about hacs to identify what the issue is. |
How do I fix the battery attributes? They just stopped working I'm not sure when it started.
The text was updated successfully, but these errors were encountered: