From fe5d6eaf5546c6b57128468fd7c7823452677da4 Mon Sep 17 00:00:00 2001 From: ccostan Date: Thu, 11 Nov 2021 09:50:24 -0500 Subject: [PATCH] Foudn 2 more instances hiding in there. #1141 --- config/templates/speech/briefing.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/templates/speech/briefing.yaml b/config/templates/speech/briefing.yaml index 0383b0bf..29126fae 100755 --- a/config/templates/speech/briefing.yaml +++ b/config/templates/speech/briefing.yaml @@ -304,11 +304,11 @@ {{ outside_weather() }} {% endif %} - {% if (states('sensor.blitzortung_lightning_counter')|int) > 0 %} + {% if (states('sensor.blitzortung_lightning_counter')|int(0)) > 0 %} {{ lightning() }} {% endif %} - {% if (states('sensor.blink_blink1_temperature')|int) > 50 and no_fridge != 1 %} + {% if (states('sensor.blink_blink1_temperature')|int(0)) > 50 and no_fridge != 1 %} {{ fridge() }} {% endif %} @@ -342,7 +342,7 @@ {{ responsibilities() }} {% endif %} - {% if now().strftime('%H')|int(9999)> 21 %} + {% if now().strftime('%H')|int(0) > 21 %} {{ medicine() }} {% endif %}