Some emojis causing an error after updating to 0.84.6

After updating to 0.84.6, some of the emojis in my telegram messages are causing an error, not all just some, and the messages never get sent.
I was updating from a 2 month old hassio version.
Has anybody an idea whats causing this.

2018-12-29 16:49:40 ERROR (MainThread) [homeassistant.core] Error executing service <ServiceCall telegram_bot.send_message (c:897a1a2b6567498299f9f540b679dfa0): target=[373476846], title=<homeassistant.helpers.template.Template object at 0xb2b52d10>, message=<homeassistant.helpers.template.Template object at 0xb2b52b90>, inline_keyboard=['All Device Status:/get_all_device_status, Device All Data:/menu_device_get_all_data', 'System Data:/system_get_all_data', 'HASSIO Restart:/restart_hassio_confirm']>
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/homeassistant/core.py", line 1130, in _safe_execute
    await self._execute_service(handler, service_call)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/core.py", line 1143, in _execute_service
    await handler.func(service_call)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/telegram_bot/__init__.py", line 275, in async_send_telegram_message
    partial(notify_service.send_message, **kwargs))
  File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/telegram_bot/__init__.py", line 469, in send_message
    chat_id, text, **params)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/telegram_bot/__init__.py", line 445, in _send_msg
    out = func_send(*args_msg, **kwargs_msg)
  File "/usr/local/lib/python3.6/site-packages/telegram/bot.py", line 65, in decorator
    result = func(self, *args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/telegram/bot.py", line 90, in decorator
    result = self._request.post(url, data, timeout=kwargs.get('timeout'))
  File "/usr/local/lib/python3.6/site-packages/telegram/utils/request.py", line 308, in post
    body=json.dumps(data).encode('utf-8'),
UnicodeEncodeError: 'utf-8' codec can't encode characters in position 8-9: surrogates not allowed

My action section of my automation:

  action:
    - service: notify.notify_1
      data_template:
        title: "My Home"
        message: "
          \uD83C\uDFE0*WELCOME*\uD83C\uDFE0"
        data:
          inline_keyboard: 
            - 'Back:/home, Home:/home'

try this way: \U0001F384
it works for me

Thank you very much.

I’m facing the same problem… where can I find the relation between \uD83C \uDFE0 and this new notation?

Well… I’ve found a solution:


Thank you.