core: ZHA device no longer reporting state of battery

Home Assistant release with the issue:

v0.96.1

Last working Home Assistant release (if known):

v0.95.4

Operating environment (Hass.io/Docker/Windows/etc.):

non-hassio in Docker

Component/platform:

ZHA

https://www.home-assistant.io/components/zha/

Description of problem:

After upgrading to v0.96.1 and due to the deprecatrion of the consolidated “zha” domain for reporting battery state the newly created battery sensor state always shows as “unknown”.

the device is a Bosch isw-zpr1-wp13 mption sensor.

Prior to the update the battery data was showing correctly as an attribute of the zha entity.

Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):


none

Traceback (if applicable):


none

Additional information:

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 22 (19 by maintainers)

Most upvoted comments

Don’t comment on closed issues. For battery voltage, wait till device reports it, it may take a while. If the device is not showing the % and you cannot read “batter_percent_remaining” attribute, then it would need a custom quirk. Submit device signature to zha-device-handlers and ask for battery support.