Integrer une temperature attribute mini graph card

Oui mais pas avant la création de l’entité…

En clair, tu n’as pas l’historique de la température de l’entité possédant l’attribut que tu extrais.

oui ce qui etait avant est perdu

Hello

Je souhaiterais ajouter un icone colorée selon si mon chauffage est en route ou non (clim/chauffage par chambre) dans une card mini graph:

  1. dans l’ideal en haut a droite

Capture

  1. savoir récupérer l’attribut heat_cool ou OFF de l’entité climate.ch_parents
    Capture1

  2. et le code la carte en question pour le moment:

entities:
  - entity: sensor.temperature_chambre_parents
    name: Temperature
    show_state: true
    state_adaptive_color: true
  - entity: sensor.humidity_chambre_parents
    name: Humidity
    show_state: true
    y_axis: secondary
    state_adaptive_color: true
hour24: true
more_info: true
name: Parents
decimals: 0
height: 200
font_size: 55
icon: mdi:bed
line_width: 3
hours_to_show: 24
bar_spacing: 2
points_per_hour: 0.5
animate: false
aspect_ratio: 10/9
show:
  labels: true
  icon: false
  legend: false
  fill: fade
  points: true
  labels_secondary: false
style: |
  ha-card .header.flex .name.flex { 
    margin-top: -10px;
  }
  ha-card .states.flex {
    margin-top: -20px;
    font-weight: bold;
  }
  ha-card .graph .graph__container {
    margin-top: -15px;
  }
  ha-card .graph .graph__container .graph__labels.--primary.flex {
    color: #ff7800;
  }
  ha-card .graph .graph__container .graph__labels.--secondary.flex {
    color: #3498db;
  }
  ha-card .header.flex .icon {
    --mdc-icon-size: 15px;
    margin-top: -11px;
    color: #ff9800;
  }
type: custom:mini-graph-card