Hi,
first post here.
I am trying to send multiple temperature data with MQTT.
I have a temperature probe that gives 5 temperatures. This works for the first sensor:
alias: Therm_p1
description: ""
triggers:
- trigger: state
entity_id:
- sensor.thermomaven_p1_6uwa_area_1_tip
conditions: []
actions:
- action: mqtt.publish
metadata: {}
data:
payload: "{{ trigger.to_state.state }}"
qos: "0"
retain: false
topic: therm/p1/temperature
mode: single
How can I add the other sensors to this message as a JSON payload.
I have searched the forum, but found no solution that works.