Hello,
Pretty stupid question, but how can I give hard/carriage returns in a data_template?
I have the following code in my automation, but it does not seem to interprete the different lines:
service: notify.html5
data_template:
title: "Nieuwe Waarschuwing Weer"
message: >
Bericht {{ states.sensor.pws_alerts.state}}
{{ states.sensor.pws_alerts.attributes.Description.split('français:')[0].split('nederlands: ')[1]}}
Vervalt op: {{ states.sensor.pws_alerts.attributes.Expires}}
So I would like to receive a message where those ’ lines really start on seperate lines. Right now, they just are pasted togehter in one big single line message.
Thanks in advance