Hi everyone ! - new to Homeassistant - Openhab user until now
I am trying to set up an automation to get triggered by a certain mqtt topic and insert the payload as target-temperature for an existing climate entity in Homeassistant.
I am struggling to find the right syntax - and cannot get it working. I am unsure if - and how I should insert a data: or data_template: part in the automation to reference the mqtt payload?
Right now, nothing happens (no change of target temp if I manually send a value (i.e. ‘29’) to the mqtt topic…
Here are multiple examples. data_template works, but is no longer needed since a few versions.
You can get the mqtt payload from the trigger with {{ trigger.payload }}
So, now my automation looks like this - but still no update happens? what am I missing ?
I am using an mqtt client to publish a value to the topic mentioned, but Homeassistant does not seem to pick it up and update the climate temp. My MQTT connection from/to HA otherwise works… Any ideas ?