From 87868f079ca8b79c4ad4cfd7385b4a33585417aa Mon Sep 17 00:00:00 2001 From: Commander1024 Date: Fri, 16 Feb 2024 00:10:11 +0100 Subject: [PATCH] Escaped sensor value. --- automations.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/automations.yaml b/automations.yaml index 2014c2a..4f9c64b 100644 --- a/automations.yaml +++ b/automations.yaml @@ -478,8 +478,8 @@ payload: '{"text": "{{message}}", "icon": "clockcolor", "duration": 16}' variables: message: '{% set t = now().hour %} {% set m = ''Morgen'' if t < 12 else ''Nachmittag'' - if t < 18 else ''Abend'' %} Guten {{m}} Marcus. Draußen sind es {{states(sensor.aussentemperatur)}} - Grad Celsius und es ist {{states(sensor.time)}} + if t < 18 else ''Abend'' %} Guten {{m}} Marcus. Draußen sind es {{states(''sensor.aussentemperatur'')}} + Grad Celsius und es ist {{states(''sensor.time'')}} ' mode: single