Unicode in telegram notify message

This works fine for me when using it in an automation like this

  action:
    - service: notify.telegram
      data:
        message: "\U00002714 Here goes my message"

but I cannot get it to work when using a data template

  action:
    - service: notify.telegrambot
      data_template:
        message: 'Here goes my message'

I’ve tried using ’ and " and whatever stuff ({{}}, UTF-16 etc) mentioned in Emojis in iOS notifications - #12 by patfelst.

Ideas?

1 Like