I’ve seen this error pop up for a couple of weeks now and just had some time to poke at it. I noticed that one of my automations is now no longer bueno with HA, but wasn’t sure why the change had occurred and if there was another way to go about doing this now.
Here’s the error:
Invalid config for [automation]: must be a value between 0 and 23 for dictionary value @ data['hours']. Got None.
and the associated automation:
- id: '<GUID>'
alias: Weekly Backup
description: ''
trigger:
- hours: '168'
platform: time_pattern
condition: []
action:
- data_template:
name: Automated Backup {{ now().strftime('%Y-%m-%d') }}
service: hassio.snapshot_full
I would prefer not to have a full snapshot every 24 hours, is there a better way to do this? Thanks in advance!