IHC Tempature

Hi

I am total new in the Hassio world so please forgive me if this is a stupid question.
I have setup my IHC with Hassio and have all the light, switches and sensors already I Hassio but I would love to set the temperature though Hassio to.
In my IHC I have found the ID for my setpoint on each room but I do not have any thermostat in HA only sensors, so I have tried to setup a generic thermostat in HA that is looking at my IHC sensor and that is working, now would like to know if it is possible make a automation that will copy the value of the target temperature on my generic thermostat to the ID of my IHC setpoint?
I found this on a Danish site

  • alias: BadTemperatur
    trigger:
  • platform: event
    event_type: state_changed
    event_data:
    entity_id: climate.bad_termostat
    action:
  • alias: CopyTemperatur
    service: ihc.set_runtime_value_float
    data_template:
    ihc_id: 2210580
    value: ‘{{ states.climate.bad_termostat.attributes.current_temperature }}’

and change entri ID to match my thermostat and the ID in IHC to match my IHC ID, but as I see it, it is taking the current value, and I want to pass the target value.

Hope you know what i mean, and it make sense at all.