Expose battery maintenance status (e.g. replace_now) as a sensor

Some battery devices report a full battery level while still signalling that
the battery must be replaced (the customer's log shows devices at lvl 100 with
state "replace_now"). That maintenance state was not surfaced anywhere.

When the battery service supports the replace_* events (per its `sup_events`
property), expose the hub-reported `state` attribute as a diagnostic
"Battery status" sensor.
This commit is contained in:
Adrian Jagielak
2026-07-01 23:38:08 +02:00
parent 93a036c4f7
commit b892e20920
3 changed files with 25 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
# https://developers.home-assistant.io/docs/add-ons/configuration#add-on-config
name: Futurehome
version: '1.7.0'
version: '1.8.0'
slug: futurehome
description: Local Futurehome Smarthub integration
url: 'https://github.com/adrianjagielak/home-assistant-futurehome'