Has anyone figured out how to add weight values from scales to Home Assistant’s new long-term statistics feature?
I’d like to have my weight from my Xiaomi scales (connected via ESPhome) tracked for longer than 10 days. Are kilograms just not possible yet?
There does not seem to be a device_class
for weight, which I think would be a pre-requisite of long term stats. Sensor Entity | Home Assistant Developer Docs
1 Like
Easy, edit your configuration.yaml and change the defaults for the recorder integration.
You can do a longer purge_keep_days
See here: Recorder - Home Assistant