Hi all,
I get messages from MQTT that contain unicode characters like “\u00f6” in text strings. How can I configure HA to display the special character?
Here an example what I see:
“Ladevorgang nach Ablauf der Abschaltverz\u00f6gerung gestoppt.”
I like to see:
“Ladevorgang nach Ablauf der Abschaltverzögerung gestoppt.”
Does it mean I have to use a template too? Okay, when I add an additional template it works. Is it possible to avoid an additional template and add this to the sensor config?
It’s taking the (ASCII / unencoded) string with the escaped special characters, converting it (encode) into a UTF-8 bytes sequence, then converting it (decode) into a Unicode string with real characters that are outside the ASCII range.
If you really want to get into the nuts and bolts: