Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FR]: Add HA version number to backup name #147

Open
sdmorris1950 opened this issue Jun 28, 2024 · 1 comment
Open

[FR]: Add HA version number to backup name #147

sdmorris1950 opened this issue Jun 28, 2024 · 1 comment

Comments

@sdmorris1950
Copy link

sdmorris1950 commented Jun 28, 2024

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

Before I started using Auto Backup (which is great, thank you), the name of the backups was the version number, i.e. Core 2024.6.4

Describe the solution you'd like

I would like a way to add the version number to name, for instance something like HourlyBackup (Core 2024.6.4): Friday, 11:18 AM, June 28, 2024

Describe alternatives you've considered

No response

Additional context

No response

@bigmong
Copy link

bigmong commented Jul 28, 2024

You can already do this.
Add https://www.home-assistant.io/integrations/version/ use Local for your current version
Find your sensor name mine is sensor.current_version

In your Auto Backup Script/Automation within the name field add it like this;
name: "DailyBackup ({{states('sensor.current_version')}}): {{ now().strftime('%Y%m%d %H%M%S') }}"
for me, I get "DailyBackup (2024.7.2): 20240728 135252"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants