From 4b679888688faf754a01ead6ca6f0df64de0ca04 Mon Sep 17 00:00:00 2001 From: ccostan Date: Sun, 13 May 2018 09:42:38 -0400 Subject: [PATCH] Closes #352 --- config/packages/twitter.yaml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/config/packages/twitter.yaml b/config/packages/twitter.yaml index 3fc76b23..698f1500 100755 --- a/config/packages/twitter.yaml +++ b/config/packages/twitter.yaml @@ -248,14 +248,15 @@ automation: hours: '/8' minutes: 15 seconds: 00 - condition: - - condition: template - value_template: > - {%- if states.automation.random_house_stats.attributes.last_triggered -%} - {{ (as_timestamp(now()) - as_timestamp(states.automation.random_house_stats.attributes.last_triggered)) > 2000 }} - {%- else -%} - true - {%- endif -%} + # condition: + # - condition: template + # value_template: > + # {%- if states.automation.random_house_stats.attributes.last_triggered -%} + # {{ (as_timestamp(now()) - as_timestamp(states.automation.random_house_stats.attributes.last_triggered)) > 2000 }} + # { + # %- else -%} + # true + # {%- endif -%} action: - service: notify.ccostan data_template: