Afficher un switch comme un radiateur

Re,

C’est tout simple
tu installe HACS si tu la pas .

Ensuite avec Hacs tu installe
Simple Thermostat & Awesome Thermostat

Ensuite tu crée un fichier a la racine de HA la ou tu vois /config

tu le nomme climate.yaml

dedans tu mets ceci

climate:
    ####################################################
    #                                                  #
    #               Climates Entrée                    #
    #                                                  #
    #################################################### 
  - platform: awesome_thermostat
    name: Thermostat Entrée
    heater: switch.rad_entree # ICI TU MET TON SWITCH
    target_sensor: sensor.temperature_entree # TA SONDE DE TEMPERATURE 
    eco_temp: 16
    away_temp: 15
    boost_temp: 21
    comfort_temp: 19
    sleep_temp: 18
    window_sensor: binary_sensor.porte_d_entree_contact # SI TU AS DES CONTACTEURS SUR PORTE OU FENETRE

Dans ton fichier configuration.yaml
rajoute ceci:

climate: !include climate.yaml

exemple:

climate: !include climate.yaml
group: !include groups.yaml
sensor: !include sensors.yaml
switch: !include switch.yaml
script: !include scripts.yaml

tu fais une vérification avant de redémarrer.

Si ok tu redémarre.

Ensuite sur ton tableau de bord UI

la carte :

type: custom:simple-thermostat
entity: climate.thermostat_entree
step_size: 0.1
icon:
  away: mdi:leaf
layout:
  mode:
    names: true
    icons: true
    headings: false
control:
  hvac: true
  preset:
    none: false
    activity: false
    boost: false
    icon: mdi:car
    sleep:
      name: Nuit
      icon: mdi:snowflake
    away:
      name: Absent
      icon: mdi:exit-run
    eco:
      name: Eco
      icon: mdi:leaf
    home:
      name: Présent
      icon: mdi:fire
    comfort:
      name: Confort
      icon: mdi:sofa
header:
  name: Thermostat Entrée
  decimals: '1'
1 « J'aime »