Hello.
I have a dht22 sensor with a nodemcu v3. Homeassistant and the nodemcu are connected to the same mqtt broker. The nodemcu sends messages with the temperatur but home assistant does not show it on the user interface.
my config:
sensor:
- platform: mqtt
state_topic: “moritz”
name: “Temperatur”
unit_of_measurement: “°C”
value_template: “{{ value_json.temperature }}” - platform: mqtt
state_topic: “moritz”
name: “Humidity”
unit_of_measurement: “%”
value_template: “{{ value_json.humidity }}” - platform: mqtt
state_topic: “moritz”
name: “Real Feel”
unit_of_measurement: “°C”
value_template: “{{ value_json.heatIndex | round(1) }}”
any ideas?
Thank you!