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

Battery Attributes not working #227

Open
iamhuman2414 opened this issue Jul 15, 2022 · 5 comments
Open

Battery Attributes not working #227

iamhuman2414 opened this issue Jul 15, 2022 · 5 comments

Comments

@iamhuman2414
Copy link

How do I fix the battery attributes? They just stopped working I'm not sure when it started.

@iamhuman2414
Copy link
Author

iamhuman2414 commented Jul 15, 2022

@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.

@sweichbr
Copy link

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).

@onebyside
Copy link

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.

@jdubz666
Copy link

jdubz666 commented Mar 1, 2023

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?

@onebyside
Copy link

onebyside commented Mar 1, 2023 via email

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

4 participants