Hive TRV Automations

Hi there, I recently realised that with the hive integration that we can now individually boost Hive TRV’s.

I’ve been trying to configure an automation whereby I can have an input_number which could be used to determine the boost duration but I am struggling. I’ve been using this:

{ states('input_number.heating_boost_kitchen') | multiply(60) | timestamp_custom('%H:%M:%S',False) }}

which according to the templates does give me the timings in the correct format, however using this as the “time_period” when trying to call the service manually results in an error.

I’ve tried to do the same using a script:

alias: Heating - Boost - Radiator Kitchen
sequence:
  - service: hive.boost_heating
    data:
      entity_id: climate.rad_kitchen
      time_period: >
        '{{ states('input_number.heating_boost_kitchen') | multiply(60) |
        timestamp_custom('%H:%M:%S',False) }}'
      temperature: '22'
    entity_id: climate.rad_kitchen
mode: single
icon: 'mdi:radiator'

but all that results in is the script starting and stopping and still no boost.

Any ideas or suggestions to get this going/working would be much appreciated.

Thanks