I'm trying to add the current time into some discord notifications but cant seem to get it to work - the automations themselves are fine and outputting the rest of the text and images, but just not the timestamp part, am I messing up the format or missing something here:
action: notify.discord
data:
target: "xxxChannelIDxxx"
message: >-
{{ now().strftime("%l:%M %p") }} {{trigger.payload_json["after"]["label"]}}
at {{trigger.payload_json["after"]["camera"]}}
I tried both '%l:%M %p' and "%l:%M %p" but still no output.
Thanks in advance 🙂