jcwillox / hass-auto-backup

🗃️ Improved Backup Service for Home Assistant that can Automatically Remove Backups and Supports Generational Backup Schemes.
https://jcwillox.github.io/hass-auto-backup
MIT License
355 stars 26 forks source link

[FR]: Enable Long Term Statistics for pending backup sensor #128

Open ScottG489 opened 6 months ago

ScottG489 commented 6 months ago

Is your feature request related to a problem? Please describe.

The pending backups sensor data isn't kept for LTS.

Describe the solution you'd like

I believe we'd just need to add a state class of "total" to the sensor.

https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes

Happy to open a PR for this, but wanted to get your thoughts first.

Describe alternatives you've considered

No response

Additional context

No response