SHT31 Monitor - Home Assistant
The SHT31 node publishes via MQTT and Home Assistant auto-discovers it when mqtt.ha_discovery: true (the default). No manual YAML required.
Verify MQTT entities
- Settings - Devices & Services - MQTT.
- Find
thesada-sht31(or whateverdevice.nameis set to). It appears automatically once the device connects. - Click the device. Two entities should show:
sensor.thesada_sht31_temperaturesensor.thesada_sht31_humidity
If the device is not visible: check the broker actually receives the discovery configs:
mosquitto_sub -h <broker> -p 8883 --cafile ca.crt \
-u <user> -P <pass> \
-t 'homeassistant/sensor/+/+/config' -v
Each entity references the live state topic (thesada/sht31/sensor/temperature/sht31, .../humidity/sht31) and the availability topic (thesada/sht31/status). Home Assistant marks the entity unavailable when the device’s LWT fires.
See MQTT Topics for the full topic shape and discovery payload schema.