Template climate

Salut tout le monde,

Je sollicite votre aide pour essayer d’afficher le statut du chauffage pour savoir si quand je suis en mode auto → maison → chauffage ou bien mode auto → absent.
Pour le moment j’arrive uniquement a savoir si je suis en auto ou en mode chauffage coupé (hors gel). J’utilise principalement que le mode en auto.

 - type: template
        tap_action:
          action: more-info
        entity: climate.salon
        icon: |-
          {% if is_state(entity, 'off') %}
            mdi:fire
          {% elif is_state(entity, 'heat') %}
            mdi:fire
          {% elif is_state(entity, 'auto') %}
            mdi:fire
          {% endif %}
        icon_color: |-
          {% if is_state(entity, 'off'') %} 
          grey
          {% elif is_state(entity, 'heat') %} 
          blue
          {% elif is_state(entity, 'auto') %} 
          red
          {% else %}
            grey
          {% endif %}

Je souhaiterais être plus granulaire et d’avoir dans mon code la récupération du préréglage et si ca chauffe ou pas (comme sur la capture).

Merci

Salut,

Peux tu donner plus de détails sur ton code…
Par exemple il est dans quel fichier? et quel est le type d’entité au dessus de - type: template
Climate.salon c’est un chauffage existant intégré dans HA ?

Salut,

Oui climate.salon c’est lié à une intégration Tado. C’est carrément dans une carte.


square: false
type: grid
cards:
  - type: custom:vertical-stack-in-card
    cards:
      - type: custom:mushroom-template-card
        primary: Lumières
        secondary: |
          {% set all = expand(entity)| list -%}
          {% set ND1 = all | selectattr('state','eq','on')|list|count%}
          {% set D1 = all | selectattr('state','eq','off')|list|count%}
          Allumées : {{ND1}}
          Eteintes : {{D1}}
        icon: |
          {% if is_state(entity, 'on') %} 
            mdi:lightbulb-group
          {% else %}
            mdi:lightbulb-group-off
          {% endif %}
        icon_color: |
          {% if is_state(entity,'on') %}
            orange
          {% else %}
            grey
          {% endif %}
        badge_icon: |-
          {% set all = expand(entity)| list -%} 
          {% set open1 = all | selectattr('state','eq','on')|list|count%}
          {% if open1 <= 9 %}
            mdi:numeric-{{open1}}
          {% elif open1 >= 10 %}
            mdi:numeric-9-plus
          {% else %}
            none
          {% endif %}
        badge_color: |
          {% set all = expand(entity)| list -%} 
          {% set open1 = all | selectattr('state','eq','on')|list|count%}
          {% if open1 == 0 %}
            grey
          {% else %}
            orange
          {% endif %}
        entity: light.toutes_les_lumieres
        tap_action:
          action: toggle
        double_tap_action:
          action: navigate
          navigation_path: /lovelace/7
        fill_container: true
        layout: horizontal
  - type: custom:vertical-stack-in-card
    cards:
      - type: custom:mushroom-template-card
        entity: light.sejour
        icon: mdi:sofa
        icon_color: |
          {% if is_state(entity, 'on') %}
            orange
          {% else %}  
            grey
          {% endif %}
        primary: Salon
        secondary: '{{ states(''sensor.weather_station_temperature'') }}°C'
        layout: horizontal
        tap_action:
          action: navigate
          navigation_path: /lovelace/4
        badge_icon: |
          {% if is_state('binary_sensor.sejour_person_detected', 'on') %}
            mdi:motion-sensor
          {% else %}  
            mdi:motion-sensor-off
          {% endif %}
        badge_color: |
          {% if is_state('binary_sensor.sejour_person_detected', 'on') %}
            orange
          {% else %}  
            grey
          {% endif %}
        hold_action:
          action: none
        double_tap_action:
          action: none
      - type: custom:mushroom-chips-card
        chips:
          - type: template
            entity: media_player.salon
            icon: mdi:play-pause
            icon_color: |-
              {% if is_state(entity, 'playing') %} 
                green
              {% else %}
               grey
              {% endif %}
            tap_action:
              action: more-info
          - type: template
            entity: light.sejour
            tap_action:
              action: fire-dom-event
              browser_mod:
                service: browser_mod.popup
                data:
                  title: Lumières Salon
                  content:
                    type: vertical-stack
                    cards:
                      - type: custom:mushroom-light-card
                        entity: light.le_salon
                        use_light_color: false
                        show_brightness_control: true
                        show_color_temp_control: false
                        show_color_control: true
                        collapsible_controls: true
                      - type: custom:mushroom-light-card
                        entity: light.bibliotheque
                        use_light_color: false
                        show_brightness_control: true
                        show_color_temp_control: false
                        show_color_control: false
                        collapsible_controls: true
                      - type: custom:mushroom-light-card
                        entity: light.buffet
                        use_light_color: false
                        show_brightness_control: true
                        show_color_temp_control: false
                        show_color_control: false
                        collapsible_controls: true
                      - type: custom:mushroom-light-card
                        entity: light.govee_tv
                        use_light_color: false
                        show_brightness_control: true
                        show_color_temp_control: false
                        show_color_control: true
                        collapsible_controls: true
                      - type: custom:mushroom-light-card
                        entity: switch.la_grande_lampe
                        use_light_color: false
                        show_brightness_control: false
                        show_color_temp_control: false
                        show_color_control: false
                        collapsible_controls: true
            icon: mdi:lightbulb
            hold_action:
              action: toggle
            icon_color: |-
              {% if is_state(entity, 'on') %} 
               orange
              {% elif is_state(entity, 'off') %} 
               grey
              {% else %}
               grey
              {% endif %}
            alignment: end
          - type: template
            tap_action:
              action: more-info
            entity: climate.salon
            icon: |-
              {% if is_state(entity, 'off') %}
                mdi:fire
              {% elif is_state(entity, 'heat') %}
                mdi:fire
              {% elif is_state(entity, 'auto') %}
                mdi:fire
              {% endif %}
            icon_color: |-
              {% if is_state(entity, 'auto') %} 
              red
              {% elif is_state(entity, 'heat') %} 
              blue
              {% elif is_state(entity, 'off') %} 
              grey
              {% else %}
                grey
              {% endif %}
          - type: template
            entity: vacuum.jimmy
            icon: |-
              {% if is_state(entity, 'cleaning') %} 
              mdi:robot-vacuum
              {% elif is_state(entity, 'docked') %} 
              mdi:robot-vacuum
              {% else %}
              mdi:robot-vacuum-alert
              {% endif %}
            icon_color: |-
              {% if is_state(entity, 'cleaning') %} 
              blue
              {% elif is_state(entity, 'docked') %} 
              grey
              {% else %}
              orange
              {% endif %}
            tap_action:
              action: fire-dom-event
              browser_mod:
                service: browser_mod.popup
                data:
                  title: Jimmy
                  content:
                    type: vertical-stack
                    cards:
                      - type: custom:mushroom-vacuum-card
                        entity: vacuum.jimmy
                        commands:
                          - start_pause
                          - stop
                          - locate
                          - return_home
                        tap_action:
                          action: none
        alignment: end
  - type: custom:vertical-stack-in-card
    cards:
      - type: custom:mushroom-template-card
        entity: light.bureau
        icon: mdi:chair-rolling
        icon_color: |
          {% if is_state(entity, 'on') %}
            orange
          {% else %}  
            grey
          {% endif %}
        primary: Bureau
        secondary: >-
          {{ states('sensor.miaomiaoce_t2_d3da_temperature_humidity_sensor')
          }}°C
        layout: horizontal
        tap_action:
          action: navigate
          navigation_path: /lovelace/3
        hold_action:
          action: none
        double_tap_action:
          action: none
        badge_icon: ''
        badge_color: ''
      - type: custom:mushroom-chips-card
        chips:
          - type: template
            entity: media_player.bureau
            icon: mdi:play-pause
            icon_color: |-
              {% if is_state(entity, 'playing') %} 
                green
              {% else %}
               grey
              {% endif %}
            tap_action:
              action: more-info
          - type: template
            entity: light.sejour
            tap_action:
              action: fire-dom-event
              browser_mod:
                service: browser_mod.popup
                data:
                  title: Lumière Bureau
                  content:
                    type: vertical-stack
                    cards:
                      - type: custom:mushroom-light-card
                        entity: light.bureau
                        use_light_color: false
                        show_brightness_control: true
                        show_color_temp_control: false
                        show_color_control: true
                        collapsible_controls: true
            icon: mdi:lightbulb
            hold_action:
              action: toggle
            icon_color: |-
              {% if is_state(entity, 'on') %} 
               orange
              {% elif is_state(entity, 'off') %} 
               grey
              {% else %}
               grey
              {% endif %}
            alignment: end
          - type: template
            tap_action:
              action: more-info
            entity: climate.bureau
            icon: |-
              {% if is_state(entity, 'off') %}
                mdi:fire
              {% elif is_state(entity, 'heat') %}
                mdi:fire
              {% elif is_state(entity, 'auto') %}
                mdi:fire
              {% endif %}
            icon_color: |-
              {% if is_state(entity, 'auto') %} 
              red
              {% elif is_state(entity, 'heat') %} 
              blue
              {% elif is_state(entity, 'off') %} 
              grey
              {% else %}
                grey
              {% endif %}
        alignment: end
  - type: custom:vertical-stack-in-card
    cards:
      - type: custom:mushroom-template-card
        entity: light.chambre_mael
        icon: mdi:bed
        icon_color: |
          {% if is_state(entity, 'on') %}
            orange
          {% else %}  
            grey
          {% endif %}
        primary: Chambre Maël
        secondary: >-
          {{ states('sensor.miaomiaoce_t2_d3c2_temperature_humidity_sensor')
          }}°C
        layout: horizontal
        tap_action:
          action: navigate
          navigation_path: /lovelace/3
        hold_action:
          action: none
        double_tap_action:
          action: none
      - type: custom:mushroom-chips-card
        chips:
          - type: template
            entity: light.chambre_mael
            tap_action:
              action: fire-dom-event
              browser_mod:
                service: browser_mod.popup
                data:
                  title: Lumière Chambre Maël
                  content:
                    type: vertical-stack
                    cards:
                      - type: custom:mushroom-light-card
                        entity: light.chambre_mael
                        use_light_color: false
                        show_brightness_control: true
                        show_color_temp_control: true
                        show_color_control: true
                        collapsible_controls: true
            icon: mdi:lightbulb
            hold_action:
              action: toggle
            icon_color: |-
              {% if is_state(entity, 'on') %} 
               orange
              {% elif is_state(entity, 'off') %} 
               grey
              {% else %}
               grey
              {% endif %}
            alignment: end
          - type: template
            tap_action:
              action: more-info
            entity: climate.chambre_mael
            icon: |-
              {% if is_state(entity, 'off') %}
                mdi:fire
              {% elif is_state(entity, 'heat') %}
                mdi:fire
              {% elif is_state(entity, 'auto') %}
                mdi:fire
              {% endif %}
            icon_color: |-
              {% if is_state(entity, 'auto') %} 
              red
              {% elif is_state(entity, 'heat') %} 
              blue
              {% elif is_state(entity, 'off') %} 
              grey
              {% else %}
                grey
              {% endif %}
        alignment: end
  - type: custom:vertical-stack-in-card
    cards:
      - type: custom:mushroom-template-card
        icon: mdi:shower
        primary: SDB
        secondary: >-
          {{ states('sensor.miaomiaoce_t2_64d8_temperature_humidity_sensor')
          }}°C
        layout: horizontal
        tap_action:
          action: navigate
          navigation_path: /lovelace/3
        hold_action:
          action: none
        double_tap_action:
          action: none
      - type: custom:mushroom-chips-card
        chips:
          - type: template
            entity: media_player.salle_de_bain
            icon: mdi:play-pause
            icon_color: |-
              {% if is_state(entity, 'playing') %} 
                green
              {% else %}
               grey
              {% endif %}
            tap_action:
              action: more-info
          - type: template
            tap_action:
              action: more-info
            entity: climate.seche_serviette
            icon: |-
              {% if is_state(entity, 'off') %}
                mdi:fire
              {% elif is_state(entity, 'heat') %}
                mdi:fire
              {% elif is_state(entity, 'auto') %}
                mdi:fire
              {% endif %}
            icon_color: |-
              {% if is_state(entity, 'auto') %} 
              red
              {% elif is_state(entity, 'heat') %} 
              blue
              {% elif is_state(entity, 'off') %} 
              grey
              {% else %}
                grey
              {% endif %}
        alignment: end
  - type: custom:vertical-stack-in-card
    cards:
      - type: custom:mushroom-template-card
        entity: light.couloir_2
        icon: mdi:image-frame
        icon_color: |
          {% if is_state(entity, 'on') %}
            orange
          {% else %}  
            grey
          {% endif %}
        primary: Entrée et couloir
        layout: horizontal
        badge_icon: >
          {% if is_state('binary_sensor.capteur_de_mouvement_couloir_occupancy',
          'on') %}
            mdi:motion-sensor
          {% else %}  
            mdi:motion-sensor-off
          {% endif %}
        badge_color: >
          {% if is_state('binary_sensor.capteur_de_mouvement_couloir_occupancy',
          'on') %}
            orange
          {% else %}  
            grey
          {% endif %}
        tap_action:
          action: navigate
          navigation_path: /lovelace/4
        hold_action:
          action: none
        double_tap_action:
          action: none
      - type: custom:mushroom-chips-card
        chips:
          - type: template
            entity: light.couloir_2
            tap_action:
              action: fire-dom-event
              browser_mod:
                service: browser_mod.popup
                data:
                  title: Lumière Cuisine
                  content:
                    type: vertical-stack
                    cards:
                      - type: custom:mushroom-light-card
                        entity: light.couloir
                        use_light_color: false
                        show_brightness_control: true
                        show_color_temp_control: true
                        show_color_control: true
                        collapsible_controls: true
                      - type: custom:mushroom-light-card
                        entity: light.entree
                        use_light_color: false
                        show_brightness_control: true
                        show_color_temp_control: true
                        show_color_control: true
                        collapsible_controls: true
            icon: mdi:lightbulb
            hold_action:
              action: toggle
            icon_color: |-
              {% if is_state(entity, 'on') %} 
               orange
              {% elif is_state(entity, 'off') %} 
               grey
              {% else %}
               grey
              {% endif %}
            alignment: end
        alignment: end
  - type: custom:vertical-stack-in-card
    cards:
      - type: custom:mushroom-template-card
        entity: light.chambre_thomas_marion
        icon: mdi:bed
        icon_color: |
          {% if is_state(entity, 'on') %}
            orange
          {% else %}  
            grey
          {% endif %}
        primary: Chambre Thomas & Marion
        secondary: >-
          {{ states('sensor.miaomiaoce_t2_cc07_temperature_humidity_sensor')
          }}°C
        layout: horizontal
        tap_action:
          action: navigate
          navigation_path: /lovelace/3
        hold_action:
          action: none
        double_tap_action:
          action: none
      - type: custom:mushroom-chips-card
        chips:
          - type: template
            entity: media_player.chambre_t_m
            icon: mdi:play-pause
            icon_color: |-
              {% if is_state(entity, 'playing') %} 
                green
              {% else %}
               grey
              {% endif %}
            tap_action:
              action: more-info
          - type: template
            entity: light.chambre_thomas_marion
            tap_action:
              action: fire-dom-event
              browser_mod:
                service: browser_mod.popup
                data:
                  title: Lumière Chambre T&M
                  content:
                    type: vertical-stack
                    cards:
                      - type: custom:mushroom-light-card
                        entity: light.chambre_thomas_marion
                        use_light_color: false
                        show_brightness_control: true
                        show_color_temp_control: true
                        show_color_control: false
                        collapsible_controls: true
            icon: mdi:lightbulb
            hold_action:
              action: toggle
            icon_color: |-
              {% if is_state(entity, 'on') %} 
               orange
              {% elif is_state(entity, 'off') %} 
               grey
              {% else %}
               grey
              {% endif %}
            alignment: end
          - type: template
            tap_action:
              action: more-info
            entity: climate.chambre_t_m
            icon: |-
              {% if is_state(entity, 'off') %}
                mdi:fire
              {% elif is_state(entity, 'heat') %}
                mdi:fire
              {% elif is_state(entity, 'auto') %}
                mdi:fire
              {% endif %}
            icon_color: |-
              {% if is_state(entity, 'auto') %} 
              red
              {% elif is_state(entity, 'heat') %} 
              blue
              {% elif is_state(entity, 'off') %} 
              grey
              {% else %}
                grey
              {% endif %}
        alignment: end
  - type: custom:vertical-stack-in-card
    cards:
      - type: custom:mushroom-template-card
        entity: light.cuisine_2
        icon: mdi:cookie
        icon_color: |
          {% if is_state(entity, 'on') %}
            orange
          {% else %}  
            grey
          {% endif %}
        primary: Cuisine
        secondary: '{{ states(''sensor.weather_station_temperature'') }}°C'
        layout: horizontal
        tap_action:
          action: navigate
          navigation_path: /lovelace/4
        hold_action:
          action: none
        double_tap_action:
          action: none
      - type: custom:mushroom-chips-card
        chips:
          - type: template
            entity: media_player.ecran_cuisine
            icon: mdi:play-pause
            icon_color: |-
              {% if is_state(entity, 'playing') %} 
                green
              {% else %}
               grey
              {% endif %}
            tap_action:
              action: more-info
          - type: template
            entity: light.cuisine_2
            tap_action:
              action: fire-dom-event
              browser_mod:
                service: browser_mod.popup
                data:
                  title: Lumière Cuisine
                  content:
                    type: vertical-stack
                    cards:
                      - type: custom:mushroom-light-card
                        entity: light.evier
                        use_light_color: false
                        show_brightness_control: true
                        show_color_temp_control: true
                        show_color_control: true
                        collapsible_controls: true
                      - type: custom:mushroom-light-card
                        entity: light.cuisine
                        use_light_color: false
                        show_brightness_control: true
                        show_color_temp_control: true
                        show_color_control: true
                        collapsible_controls: true
            icon: mdi:lightbulb
            hold_action:
              action: toggle
            icon_color: |-
              {% if is_state(entity, 'on') %} 
               orange
              {% elif is_state(entity, 'off') %} 
               grey
              {% else %}
               grey
              {% endif %}
            alignment: end
        alignment: end
  - type: custom:vertical-stack-in-card
    cards:
      - type: custom:mushroom-template-card
        entity: light.exterieur
        icon: mdi:flower
        icon_color: |
          {% if is_state(entity, 'on') %}
            orange
          {% else %}  
            grey
          {% endif %}
        primary: Extérieur
        secondary: '{{ states(''sensor.weather_station_outdoor_module_temperature'') }}°C'
        layout: horizontal
        tap_action:
          action: navigate
          navigation_path: /lovelace/5
        hold_action:
          action: none
        double_tap_action:
          action: none
      - type: custom:mushroom-chips-card
        chips:
          - type: template
            entity: light.exterieur
            tap_action:
              action: fire-dom-event
              browser_mod:
                service: browser_mod.popup
                data:
                  title: Lumière Extérieur
                  content:
                    type: vertical-stack
                    cards:
                      - type: custom:mushroom-light-card
                        entity: light.terrain_de_petanque_3
                        use_light_color: false
                        show_brightness_control: true
                        show_color_temp_control: true
                        show_color_control: true
                        collapsible_controls: true
                      - type: custom:mushroom-light-card
                        entity: light.terrasse_3
                        use_light_color: false
                        show_brightness_control: true
                        show_color_temp_control: true
                        show_color_control: true
                        collapsible_controls: true
                      - type: custom:mushroom-light-card
                        entity: switch.spot_piscine
                        use_light_color: false
                        show_brightness_control: false
                        show_color_temp_control: false
                        show_color_control: false
                        collapsible_controls: true
            icon: mdi:lightbulb
            hold_action:
              action: toggle
            icon_color: |-
              {% if is_state(entity, 'on') %} 
               orange
              {% elif is_state(entity, 'off') %} 
               grey
              {% else %}
               grey
              {% endif %}
            alignment: end
        alignment: end
columns: 2

Ah ouais quand même… là tu parles de la configuration d’une Chip Mushroom Template :slight_smile: Ca aurait été bien de le préciser :wink:

Il faut aller dans « outils de développement > etats » et voir ton « climate.bureau » pour confirmer (ça peut varier en fonciton des marques), mais si je prends exemple sur des climate que j’ai chez moi, le mode de fonctionnement c’est l’état de l’entité climate. Les préréglages c’est un attribut de l’entitié climate qui devrait s’appeler preset_mode

Donc pour récupérer ça il faut utiliser la fonction: state_attr("climate.bureau", "preset_mode")

1 « J'aime »

Tu as totalement raison et je ne savais même pas que je pouvais voir les attributs ca me changer pas mal de chose :slight_smile:
En tous cas ca fonctionne pour ce que je souhaite faire.
Merci

1 « J'aime »

Bonsoir,
comment l’as tu intégré dans ton YAML ?
J’essaye en vain d’afficher dans ma fenêtre le Chips preset_mode d’un radiateur avec des icons et des couleurs en fonction de l’état. Je bloque depuis quelques jours.
Dans le même principe que tu l’as fait.
Merci

Hello Romain,

Désolé pour le temps de réponse, j’ai fait quelque chose comme cela.

En haut tu as les boutons qui directement change le mode tous les radiateurs et après tu as pièce par pièce. Tu peux régler la température et le changement de mode quand tu cliques sur une des chambres etc …

Tu as également un changement de couleur du chauffage maison en fonction du mode.

Je te laisse le code ici

type: custom:stack-in-card
mode: vertical
keep:
  box_shadow: false
  margin: false
  border_radius: false
  background: false
  outer_padding: false
cards:
  - type: horizontal-stack
    cards:
      - type: custom:mushroom-template-card
        entity: sensor.bobby_house_tado_mode
        primary: Chauffage
        secondary: |2-
           {% set state=states('sensor.bobby_house_tado_mode') %}
           {% if state=='HOME' %}
           Maison
           {% elif state=='AWAY' %}
           Absent
          {% endif %}
        icon: mdi:radiator
        icon_color: |2-
           {% set state=states('sensor.bobby_house_tado_mode') %}
           {% if state=='AWAY' %}
           green
           {% elif state=='HOME' %}
           red
           {% else %}
           grey
          {% endif %}
        tap_action:
          action: none
        hold_action:
          action: none
        double_tap_action:
          action: none
        fill_container: false
        card_mod:
          style: |
            ha-card {
              border: none;
              margin-top: 0px;
            }
  - type: horizontal-stack
    cards:
      - type: custom:mushroom-chips-card
        chips:
          - type: entity
            entity: climate.salon
            tap_action:
              action: call-service
              service: climate.set_hvac_mode
              target:
                area_id:
                  - bureau
                  - chambre_mael
                  - chambre_t_m
                  - salon
              data:
                hvac_mode: "off"
            hold_action:
              action: none
            double_tap_action:
              action: none
            use_entity_picture: false
            content_info: name
            icon_color: grey
            name: Eteindre
          - type: entity
            entity: climate.salon
            tap_action:
              action: call-service
              service: climate.set_hvac_mode
              target:
                area_id:
                  - bureau
                  - chambre_mael
                  - chambre_t_m
                  - salon
              data:
                hvac_mode: auto
            hold_action:
              action: none
            double_tap_action:
              action: none
            content_info: name
            name: Allumé
            icon_color: orange
          - type: entity
            entity: climate.salon
            tap_action:
              action: call-service
              service: climate.set_preset_mode
              target:
                area_id:
                  - bureau
                  - chambre_mael
                  - chambre_t_m
                  - salon
              data:
                preset_mode: away
            hold_action:
              action: none
            double_tap_action:
              action: none
            name: Absent
            content_info: name
            icon_color: green
          - type: entity
            entity: climate.salon
            tap_action:
              action: call-service
              service: climate.set_preset_mode
              target:
                area_id:
                  - bureau
                  - chambre_mael
                  - chambre_t_m
                  - salon
              data:
                preset_mode: home
            hold_action:
              action: none
            double_tap_action:
              action: none
            name: Maison
            content_info: name
            icon_color: red
        alignment: center
        card_mod:
          style: |
            ha-card {
              border: none;
              margin-top: 10px;
            }
  - type: horizontal-stack
    cards:
      - type: custom:mushroom-climate-card
        entity: climate.bureau
        show_temperature_control: true
        primary_info: name
        hvac_modes: []
        tap_action:
          action: more-info
        hold_action:
          action: none
        double_tap_action:
          action: none
        card_mod:
          style: |
            ha-card {
              border: none;
              margin-top: 10px;
            }
      - type: custom:mushroom-climate-card
        entity: climate.chambre_mael
        show_temperature_control: true
        hvac_modes: []
        tap_action:
          action: more-info
        hold_action:
          action: none
        double_tap_action:
          action: none
        card_mod:
          style: |
            ha-card {
              border: none;
              margin-top: 10px;
            }
  - type: horizontal-stack
    cards:
      - type: custom:mushroom-climate-card
        entity: climate.chambre_t_m
        name: Chambre Thomas & Marion
        show_temperature_control: true
        tap_action:
          action: more-info
        hvac_modes: []
        hold_action:
          action: none
        double_tap_action:
          action: none
        card_mod:
          style: |
            ha-card {
              border: none;
              margin-top: 10px;
            }
      - type: custom:mushroom-climate-card
        entity: climate.salon
        tap_action:
          action: more-info
        show_temperature_control: true
        hvac_modes: []
        hold_action:
          action: none
        double_tap_action:
          action: none
        card_mod:
          style: |
            ha-card {
              border: none;
              margin-top: 10px;
            }
  - type: custom:mushroom-climate-card
    name: Sèche Serviette
    show_temperature_control: true
    collapsible_controls: false
    secondary_info: state
    hvac_modes:
      - "off"
      - auto
    tap_action:
      action: more-info
    fill_container: false
    entity: climate.seche_serviette
    card_mod:
      style: |
        ha-card {
          border: none;
          margin-top: 10px;
        }


1 « J'aime »