Exabird ha-tado-x integration possible problem

Hi,
I am using the following code to try to set the offsets on 3 Tado X TRVs:
alias: Update TRV Offset for Downstairs
description: ""
///
triggers:

  • trigger: state
    entity_id:
    • input_number.downstairs_trv_ofset
      conditions:
      actions:
  • action: tado_x.set_temperature_offset
    data:
    device_id: c7e11d0d14c20df94efc86bcd4593a16
    offset: "{{ states('input_number.downstairs_trv_offset') | float(0) }}"
  • action: tado_x.set_temperature_offset
    data:
    device_id: 4f2b1425f4fb051c208030e590dc9624
    offset: "{{ states('input_number.downstairs_trv_offset') | float(0) }}"
  • action: tado_x.set_temperature_offset
    data:
    device_id: 14303356b292b0b4b7cd208d28e510c6
    offset: "{{ states('input_number.downstairs_trv_offset') | float(0) }}"
    mode: single
    ///

It sets all 3 TRVs to 0 regardless of the value of the helper.
What am I doing wrong?

How to format code or use the</> key in the post editor.