Bouton augmenter / diminuer température

Désoler mal copier en YAML:

alias: Thermostat salon down temp
sequence:
  - data:
      temperature: >-
        {{ state_attr('climate.versatile_thermostat_salon', 'temperature') -
        value | float(0) }}
    target:
      entity_id: climate.versatile_thermostat_salon
    action: climate.set_temperature
icon: mdi:minus
mode: single
alias: Thermostat salon up temp
sequence:
  - data:
      temperature: >-
        {{ state_attr('climate.versatile_thermostat_salon', 'temperature') +
        value | float(0) }}
    target:
      entity_id: climate.versatile_thermostat_salon
    action: climate.set_temperature
icon: mdi:plus
mode: single
1 « J'aime »