Remove the time condition since script only fires once a day

This commit is contained in:
Jeffrey Stone 2019-11-10 13:50:00 -05:00
parent b15a18d225
commit 80cdd4144d
1 changed files with 0 additions and 4 deletions

View File

@ -45,8 +45,6 @@ automation:
condition:
- condition: template
value_template: '{{ states.sensor.usps_mail.state | int > 0 }}'
- condition: template
value_template: '{{ ((now().hour | int) > 7) and ((now().hour | int) < 16) }}'
action:
- service: script.ah_report
data_template:
@ -81,8 +79,6 @@ automation:
condition:
- condition: template
value_template: '{{ states.sensor.usps_packages.state | int > 0 }}'
- condition: template
value_template: '{{ ((now().hour | int) > 7) and ((now().hour | int) < 16) }}'
action:
- service: script.ah_report
data_template: