uPDATE THE jUICEBOX TIMINGS TO CATCH MORE ERRORS.

This commit is contained in:
ccostan 2018-06-29 16:51:56 -04:00
parent 017a747d70
commit 32769202e9
1 changed files with 2 additions and 2 deletions

View File

@ -58,7 +58,7 @@ automation:
for: for:
minutes: 6 minutes: 6
- platform: time - platform: time
hours: '/3' hours: '/4'
minutes: 30 minutes: 30
seconds: 30 seconds: 30
@ -71,7 +71,7 @@ automation:
- condition: template - condition: template
value_template: > value_template: >
{%- if states.automation.juicebox_selfheal.attributes.last_triggered -%} {%- if states.automation.juicebox_selfheal.attributes.last_triggered -%}
{{ (as_timestamp(now()) - as_timestamp(states.automation.juicebox_selfheal.attributes.last_triggered)) > 25000 }} {{ (as_timestamp(now()) - as_timestamp(states.automation.juicebox_selfheal.attributes.last_triggered)) > 10000 }}
{%- else -%} {%- else -%}
true true
{%- endif -%} {%- endif -%}