Hello,
here is my solution :
1-Install âauto_backupâ from jcwillox https://github.com/jcwillox/hass-auto-backup
With this integration you can easely manage the âexcludeâ part of addon and folder (like /media and /usbstorage for me )
2-in the UI, integration, add âAuto Backupâ integration, you will then have a âsensor.auto_backupâ
3-Create a binary_sensor template:
- platform: template
sensors:
auto_backup_template:
friendly_name: "Auto Backup Template"
value_template: >
{% if is_state('sensor.auto_backup', '0') %}
off
{% elif is_state('sensor.auto_backup', '1') %}
on
{% endif %}
4-install âcustom-cardsâ https://github.com/custom-cards/button-card
5-create a custom_cards button: like this one with your binary_sensor.auto_backup_template:
type: custom:button-card
color_type: card
entity: binary_sensor.auto_backup_template
name: Backup
state:
- value: 'on'
color: red
icon: mdi:alert
name: Backup in progress
styles:
card:
- animation: blink 2s ease infinite
- operator: default
color: green
icon: mdi:backup-restore
name: No Backup in progress
and then you will know when your system is backing up
Enjoy!