How do I cause MQTT discovery to run? I have a config topic and a state topic present on my MQTT broker but I do not see the device in my HA system. I don’t see any errors in the log that indicate any problems.
Go to Configuration > Integrations, find the MQTT integration (that you have already installed), click its overflow menu (3 vertical dots) and click System Options. Ensure that “Enable newly added entities.” is enabled.
If it is, then confirm Home Assistant is connected to your MQTT broker.
If it is, then confirm the Discovery topic and payload you are publishing conform to the requirements described for MQTT Discovery.
thanks. it’s showing up now. looks like ha did not like the “unit_of_measurement” that i included in the config payload. i had: unit_of_measurement: “ºF”, but it seems that it did not work. i suspect it’s because of the special character before the “F”. looks like a character set issue when passing strings through MQTT. any idea how i can get this to work?
Compare the degree symbol you are using:
ºF
with the degree symbol you should be using:
°F
You may need to magnify it to see the difference, but they’re definitely not the same (completely different characters).
Any progress to report?
BTW, there are several characters that look like the degree symbol and it’s the first one that you should use:
alt-0176 – °
alt-167 – º
alt-248 – °