Climate automation with T6 Pro zwave thermostat

I have the following automation which runs without errors but the temperature setting doesn’t actually work (if I run the set temperature code in the developer tools it works).
If the thermostat was previously set to on then it works but if it was off, it only turns on but doesn’t set the temperature. I suspect that the turn on returns before the thermostat actually goes to on so setting the temperature doesn’t work

alias: Heating nights
description: ''
trigger:
  - platform: time
    at: '22:00:00'
condition:
  - condition: template
    value_template: ' {{ is_state(''input_boolean.vacation_mode'', ''off'') }}'
action:
  - choose:
      - conditions:
          - condition: state
            entity_id: binary_sensor.workday_sensor
            state: 'off'
        sequence:
          - wait_for_trigger:
              - platform: time
                at: '23:59:00'
    default: []
  - service: climate.turn_on
    target:
      entity_id: climate.t6_pro_z_wave_programmable_thermostat
  - service: climate.set_temperature
    data:
      temperature: 14
      hvac_mode: heat
    target:
      entity_id: climate.t6_pro_z_wave_programmable_thermostat
mode: single