dirigera_platform icon indicating copy to clipboard operation
dirigera_platform copied to clipboard

Does the battery percentage ever get updated?

Open sg26565 opened this issue 4 months ago • 0 comments

From what I see in the code, the battery percentage is loaded from the hub when the entries are initialized in sensors.async_setup_entry(). Afterwards, it seems the value is never updated, because the battery percentage is not part of the normal event data. Would it make sense to re-fetch the data via hub.get_xxx_sensors() regularly (e.g. every hour)?

sg26565 avatar Oct 11 '24 17:10 sg26565