I just updated homeassistant to 2025.4.4 and I got a warning as per the subject, saying that the manually configured sensor wouldn’t work after 2027 something (I inadvertently clicked on ignore and I no longer see the message so it is from memory).
I’ve searched and everywhere it says that ºC is a valid unit for temperature.
This is the configuration of the sensor in configuration.yaml
Your MQTT Sensor configuration is not using the correct degree symbol.
This is from your configuration.
unit_of_measurement: "ºC"
This is the correct degree symbol.
unit_of_measurement: "°C"
It’s smaller than the one used in your example but may be difficult to see the difference when viewed in a forum post. I suggest you copy the two examples into a text editor and then the difference will be more noticeable.
Here’s a screenshot from a text editor where the difference is more noticeable.
Remove the incorrect, larger degree symbol from your configuration and copy-paste the correct, smaller degree symbol from my example.
Its a U+000BA masculine ordinal indicator. You can tell its lunchtime. Not by the symbol but that I looked it up. Now ive looked up the degree C symbol its U+2103 in unicode.
Interesting that it appears with an underbar (underscore?) when displayed on your system. As mentioned above, nothing I tried displays it like that.
It presents a bit of a support headache when the symbol’s appearance can vary to such an extent. My phone browser renders the two symbols so that they’re virtually indistinguishable whereas yours adds something that isn’t even seen in my browser. What a mess; no wonder the OP is perplexed by it.