dirigera_platform
dirigera_platform copied to clipboard
Does the battery percentage ever get updated?
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)?