blueprint:
  name: Thermostat chaudiere bois
  description: Thermostat chaudiere bois
  domain: automation

  input:
    entity_consigne:
      name: Consigne
      description: Champ d'entrée de la consigne du thermostat (input number).
      selector:
        entity:
          domain: input_number

    entity_mode:
      name: mode_on_off
      description: mode on off
      selector:
        entity:
          domain: input_boolean

    entity_temp_ext:
      name: Température extérieure
      description: Sonde de mesure de la température extérieure (sensor)
      selector:
        entity:
          domain: sensor
          device_class: temperature
    entity_temp_int:
      name: Température intérieure
      description: Sonde de mesure de la température intérieure (sensor)
      selector:
        entity:
          domain: sensor
          device_class: temperature
    entity_temp_chaud:
      name: Température chaudiere bois
      description: Sonde de mesure de la température chaudiere bois (sensor)
      selector:
        entity:
          domain: sensor
          device_class: temperature
    entity_temp_ballon:
      name: Température ballon
      description: Sonde de mesure de la température du ballon (sensor)
      selector:
        entity:
          domain: sensor
          device_class: temperature
    delta_thermostat:
      name: delta temperature thermostat
      description: delta de temperature entre consigne et temperature salon (0.6 conseillé)
      selector:
        number:
          min: 0.0
          max: 2.0
          step: 0.1


    entity_circulateur:
      name: Circulateur
      description: marche / arrêt du circulateur (switch)
      selector:
        entity:
          domain: switch

# Récupération des paramètres
variables:
  entity_temp_int: !input entity_temp_int
  entity_temp_ext: !input entity_temp_ext
  entity_consigne: !input entity_consigne
  entity_mode: !input entity_mode
  entity_temp_chaud: !input entity_temp_chaud
  entity_temp_ballon: !input entity_temp_ballon
  entity_delta_th: !input delta_thermostat

mode: restart
 