core icon indicating copy to clipboard operation
core copied to clipboard

Battery sensor state missing

Open codyc1515 opened this issue 1 year ago • 5 comments

The problem

Logger: homeassistant.components.homekit.accessories
Source: components/homekit/accessories.py:254 
Integration: HomeKit (documentation, issues) 
First occurred: 4:16:49 PM (1 occurrences) 
Last logged: 4:16:49 PM

binary_sensor.entrance_doorbell_motion: Battery sensor state missing: sensor.entrance_doorbell_battery

What version of Home Assistant Core has the issue?

core-2023.3.1

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Container

Integration causing the issue

homekit

Link to integration documentation on our website

https://www.home-assistant.io/integrations/homekit

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

I am unable to download diagnostics.

Additional information

Device is a Ring Doorbell Pro 2

codyc1515 avatar Mar 04 '23 03:03 codyc1515

Hey there @bdraco, mind taking a look at this issue as it has been labeled with an integration (homekit) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of homekit can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign homekit Removes the current integration label and assignees on the issue, add the integration domain after the command.

(message by CodeOwnersMention)


homekit documentation homekit source (message by IssueLinks)

home-assistant[bot] avatar Mar 04 '23 03:03 home-assistant[bot]

I am also seeing this for my Zooz ZSE11 sensor. Resetting using homekit.reset_accessory nor removing and re-adding to the HomeKit bridge is resolving the issue.

jcbshw avatar Apr 15 '23 19:04 jcbshw

I am also seeing this for my Zooz ZSE11 sensor. Resetting using homekit.reset_accessory nor removing and re-adding to the HomeKit bridge is resolving the issue.

Please raise a new ticket for this different issue.

codyc1515 avatar May 01 '23 00:05 codyc1515

I am also seeing this for my Zooz ZSE11 sensor. Resetting using homekit.reset_accessory nor removing and re-adding to the HomeKit bridge is resolving the issue.

Please raise a new ticket for this different issue.

I have the same issue. No point wasting devs time with a second ticket.

jcbshw avatar May 01 '23 00:05 jcbshw

I have the same issue as well with a Sonoff ZBMINIL2 zigbee device on a switch that has no battery, yet I get this error with each reboot. There is no sensor in my list of items to include/exclude for Homekit that matches this, so I'm at a loss how to resolve this.

Logger: homeassistant.components.homekit.accessories
Source: components/homekit/accessories.py:259
Integration: HomeKit Bridge (documentation, issues)
First occurred: 11:55:13 (1 occurrences)
Last logged: 11:55:13

light.laundry_room: Battery sensor state missing: sensor.sonoff_zbminil2_battery_2

ziptbm avatar Jul 16 '23 02:07 ziptbm

Any progress on this? It's just a warning but it does persist after each restart.

tsspmq avatar Aug 02 '23 14:08 tsspmq

Any known workarounds?

ziptbm avatar Oct 17 '23 18:10 ziptbm

Presumably still current but I have disposed of my Ring devices.

codyc1515 avatar Dec 07 '23 23:12 codyc1515

Presumably still current.

codyc1515 avatar Jan 07 '24 20:01 codyc1515

I'm seeing this also on devices I have disabled an entity on. After re enabling the entity and after a reboot you just get a new warning for another entity that is disabled. Right now just seeing this on my Aeotec Multi Sensors. I've stopped enabling the entities because I don't need them.

mebaddog2002 avatar Jan 10 '24 21:01 mebaddog2002

This is an old issue and the original poster appears to have disposed of their ring devices so I will close it. Anyone still experiencing this should open a new issue with up to date logs and also clarify whether the battery sensor is showing in the ring integration view as the log above seems to be specific to homekit.

sdb9696 avatar Mar 01 '24 08:03 sdb9696

@home-assistant close

sdb9696 avatar Mar 01 '24 08:03 sdb9696