Simply hold to launch an update with automatic backup. Using auto-entities .
type: custom:auto-entities
card:
type: entities
filter:
include:
- domain: update
state: "on"
attributes:
supported_features: $$/(1|3|5|7|9)$/
options:
hold_action:
action: call-service
service: update.install
service_data:
entity_id: this.entity_id
backup: true
11 Likes
So this will autromatically create a backup before an upgrade? Genius!
Yes, just press and hold to launch update with backup.
1 Like
Edwin_D
(Edwin D.)
January 15, 2025, 4:41pm
4
I thought they might have removed the option because Nabu Casa will only hold one backup. If you rely on Nabu Casa, the addon backup might replace the real backup. Did anyone try? Because that would be bad.
No, this creates partial manual backups. They are completely separate from automatic backups.
1 Like
hayvan96
(Hayvan96)
January 21, 2025, 6:42am
6
Hi, would it possible to hide the card when no update is available? The card still appears as a blank card. Anyway, it works perfectly, thank you!
EDIT : adding show_empty : false did the trick