German Umlaut in name: not working

In configuration.yaml sensor setion
I.e.
‘’’ - platform: mqtt
state_topic: Wohnung/Gaerk/get/temperature
name: “Gaerschrank ist Temperatur”
unit_of_measurement: “°C”" ‘’’
works fine but if I write
‘’’ - platform: mqtt
state_topic: Wohnung/Gaerk/get/temperature
name: “Gärschrank ist Temperatur”
unit_of_measurement: “°C” ‘’’
or
‘’’ - platform: mqtt
state_topic: Wohnung/Gaerk/get/temperature
name: “Gärschrank ist Temperatur”
unit_of_measurement: “°C” ‘’’
The entity is marked as unknown

is there any solution. writeing “ae” instead of “ä” ist correct but does not look nice in german

I’ve tested that with the following example and it is working for me:

  - platform: mqtt
    state_topic: "printer/black"
    name: "Gärschrank ist Temperatur"
    unit_of_measurement: "°C"

The “ä” is converted into an “a” but the friendly name is correct.

Are you sure that your code is correctly formatted? The quotation marks for the name and the unit don’t look correct.

Thank you for the hint, the name changes so it is a new entity and what’s not found is the old not existing any more

Try saving the file with the encoding UTF-8 instead of ACSII/ANSI: