Bouton augmenter / diminuer température

Salut,
dans ton tuto, il utilise une entité input_number et non, une entité climate.

chez moi, j’utilise un script.
Pour le + (script.thermostat_salon_up_temp):

data:
  temperature: >-
    {{ state_attr('climate.versatile_thermostat_salon', 'temperature') + value |
    float(0) }}
target:
  entity_id: climate.versatile_thermostat_salon
action: climate.set_temperature

Pour le - (script.thermostat_salon_down_temp):

data:
  temperature: >-
    {{ state_attr('climate.versatile_thermostat_salon', 'temperature') - value |
    float(0) }}
target:
  entity_id: climate.versatile_thermostat_salon
action: climate.set_temperature

dans button-card:
pour le button + :

tap_action:
  action: call-service
  service: script.thermostat_salon_up_temp
  data:
    climate_id: climate.versatile_thermostat_salon
    value: 1

pour le button - :

tap_action:
  action: call-service
  service: script.thermostat_salon_down_temp
  data:
    climate_id: climate.versatile_thermostat_salon
    value: 1
1 « J'aime »