Hi All,
I’m still very new to MQTT & HA and I know I’m doing something silly here but I can’t work it out.
So I have a temperature sensor connected to an ESP that is pushing the data to the MQTT database. I can see the data in MQTT but can’t retrieve it in HA
sensor:
- platform: mqtt
name: "Upstairs Temperature"
state_topic: "rflink/Oregon_TempHygro-2DF8"
unit_of_measurement: '°C'
value_template: "{{ value_json.temperature }}"
- platform: mqtt
name: "Upstairs Humidity"
state_topic: "rflink/Oregon_TempHygro-2DF8"
unit_of_measurement: '%'
value_template: "{{ value_json.humidity }}"