Skip to content

Commit

Permalink
Remove reference to pending_update_list when waiting backup #15
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardtfn committed Sep 30, 2024
1 parent 2745cf5 commit 19eeba8
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions blueprints/automation/EdwardTFN/auto_update_scheduled.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -655,11 +655,8 @@ action:
backup_wait_time_seconds: '{{ (backup_wait_time | int(60)) * 60 }}'
- if: '{{ backup_wait_time_seconds > 0 }}'
then:
- alias: "Wait for backup complete"
continue_on_error: true
wait_template: "{{ is_state(pending_update_list[0], 'off') }}"
continue_on_timeout: true
timeout: '{{ backup_wait_time_seconds }}'
- alias: "Give selected wait time for the backup" # There's no sensor for when the backup finishes
delay: '{{ backup_wait_time_seconds }}'
else: []

########## Update add-ons (Standard) ##########
Expand Down

0 comments on commit 19eeba8

Please sign in to comment.