ha-wyzesense icon indicating copy to clipboard operation
ha-wyzesense copied to clipboard

Battery Attributes not working

Open iamhuman2414 opened this issue 2 years ago • 5 comments

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

iamhuman2414 avatar Jul 15 '22 05:07 iamhuman2414

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

iamhuman2414 avatar Jul 15 '22 05:07 iamhuman2414

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

sweichbr avatar Jul 15 '22 09:07 sweichbr

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.

onebyside avatar Dec 11 '22 23:12 onebyside

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?

jdubz666 avatar Mar 01 '23 03:03 jdubz666

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 GitHubhttps://github.com/kevinvincent/ha-wyzesense/issues/227#issuecomment-1449260261, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AK3CXEYK6XEX53GUAXH3WKTWZ23WTANCNFSM53UMBRFQ. You are receiving this because you commented.Message ID: @.***>

onebyside avatar Mar 01 '23 03:03 onebyside