Input set value

I am not able to set
I intend to enter the default target thermostat temperature

I have a helper
input_number.220_mira_obyvak_vychozi_teplota
generated thermostat
entity_id: climate.habitant

    entity_id: climate.obyvak
    service: climate.turn_on
  - data:
      temperature: '{{ states(''input_number.220_mira_obyvak_vychozi_teplota'') | int }}'
    entity_id: climate.obyvak
    service: climate.set_temperature

data should be data_template.

done

data_template:
  temperature: '{{ states(''input_number.220_mira_loznice_vychozi_teplota'') }}'
entity_id: climate.loznice
service: climate.set_temperature