Wrong Temperature in MQTT HVAC

Hi,

can anyone help me configuring my SONOFF TRV behind an Zigbee2Tasmota Gateway?
I use MQTT HVAC integration in HA to publish config data to these TRV’s.

Hier is my config, reduced to the basics:

mqtt:
  climate:
    - name: Schule Probenraum
      temperature_command_topic: "cmnd/zigbeeSchule/ZbSend"
      temperature_command_template: '{"device":"0x30A2","write":{"OccupiedHeatingSetpoint#":{{state_attr("climate.schule_probenraum","temperature")|float}}}}'

I think this is right, but it don’t send the actual temperature of the climate card, rather the temperature before? Always one too late.

What the matter?

Greetings
Konrad