Escaped sensor value.
This commit is contained in:
parent
c0755f5add
commit
87868f079c
@ -478,8 +478,8 @@
|
|||||||
payload: '{"text": "{{message}}", "icon": "clockcolor", "duration": 16}'
|
payload: '{"text": "{{message}}", "icon": "clockcolor", "duration": 16}'
|
||||||
variables:
|
variables:
|
||||||
message: '{% set t = now().hour %} {% set m = ''Morgen'' if t < 12 else ''Nachmittag''
|
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)}}
|
if t < 18 else ''Abend'' %} Guten {{m}} Marcus. Draußen sind es {{states(''sensor.aussentemperatur'')}}
|
||||||
Grad Celsius und es ist {{states(sensor.time)}}
|
Grad Celsius und es ist {{states(''sensor.time'')}}
|
||||||
|
|
||||||
'
|
'
|
||||||
mode: single
|
mode: single
|
||||||
|
Loading…
Reference in New Issue
Block a user