# Couleur dans module Energie : special Tempo

**URL:** <https://forum.hacf.fr/t/couleur-dans-module-energie-special-tempo/27751>\
**Category:** Entraide Home Assistant\
**Tags:** energie-energy, interface-lovelace\
**Created:** [Septembre 7, 2023, 6:43 UTC](https://forum.hacf.fr/t/couleur-dans-module-energie-special-tempo/27751 "2023-09-07T18:43:04Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![roumano](https://forum.hacf.fr/letter_avatar_proxy/v4/letter/r/f14d63/32.png) [@roumano](https://forum.hacf.fr/u/roumano)\
**Post date:** [Septembre 7, 2023, 10:39 UTC](https://forum.hacf.fr/t/couleur-dans-module-energie-special-tempo/27751/3 "2023-09-07T22:39:34Z")

</div>

tu édite ton fichier configuration.yaml, dedans, tu a, ou tu crée une section frontend comme celui-ci :

```auto
frontend:
  themes:
    theme_sansbordure:
      ha-card-border-width: 0
      energy-grid-consumption-color-0: darkblue
      energy-grid-consumption-color-1: blue
      energy-grid-consumption-color-2: darkblue
      energy-grid-consumption-color-3: white
      energy-grid-consumption-color-4: darkred
      energy-grid-consumption-color-5: red
      modes:
        light: {}
        dark: {}

```

Puis tu clique sur Outil de configuration / Yaml / Recharger tout la configuration yaml

Puis sur ton profil, tu choisi ce nouveau profil crée :

![Capture d’écran du 2023-09-08 00-38-35-1](https://forum.hacf.fr/uploads/default/optimized/3X/c/0/c0cc264487cf93ca109ab0826b12706fa9f66f61_2_517x66.png)

---

_[View the full topic](https://forum.hacf.fr/t/couleur-dans-module-energie-special-tempo/27751)._
