Skip to content

Commit

Permalink
Leave Zone wait.remaining == 0
Browse files Browse the repository at this point in the history
  • Loading branch information
eifinger committed May 16, 2021
1 parent ff26c9e commit f193181
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/zone.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ automation:
timeout: "00:30:00"
- alias: "Only continue when at least 30 minutes in zone"
condition: template
value_template: "{{ wait.completed }}"
value_template: "{{ wait.remaining == 0 }}"
- alias: "Only if Kevin is not nearby"
condition: template
value_template: "{{ distance('device_tracker.sm_g975f', 'device_tracker.oneplus_a3003') < 1 }}"
Expand Down

0 comments on commit f193181

Please sign in to comment.