Hi all,
I am desperately trying to get to integrate a Node-Red sensor flow into home-assistant via MQTT.
For configuration, I inject the following json message to the config topic homeassistant/sensor/weatherStationHum/config
:
{
"name": "Weather Station Humidity",
"device_class": "humidity",
"state_topic": "homeassistant/sensor/weatherStation/weatherStationHum/state",
"unit_of_measurement": "%",
"icon":"mdi:thermometer",
"unique_id":"weatherstation_humidity"
}
The sensor values are published accordingly to homeassistant/sensor/weatherStation/weatherStationHum/state
.
However, homeassistant does not display a notification message that a new device has been discovered. I tried to stick to everything in the discovery documentation but am out of ideas by now.
Thankful for any help!