I am trying to update my TRV setpoint via MQTT. When I change the value on the thermostat card dial, the mqtt payload sent to the temperature command topic includes the last value for the target temperature, not the new one that I have changed it to.
This is my configuration yaml:
- name: "DressingArea_Setpoint"
unique_id: "DressingArea_Setpoint"
temperature_state_topic: "evogateway/main_stairs/ctl_controller/setpoint/setpoint"
temperature_unit: C
temp_step: 0.5
max_temp: 21
min_temp: 5
optimistic: true
modes: ["auto", "off", "heat"]
# Possibly set preset modes?
temperature_command_topic: "evogateway/_zone_independent/command"
temperature_command_template: >
{
"dst_id": "01:155941,
"command": "set_zone_mode",
"zone_idx": "03",
"mode": "advanced_override",
"setpoint": {{state_attr('climate.dressingarea_setpoint', 'temperature')}}
}
Is there a way to send the new value?