Simply include the file within your configuration.yaml file like this:
# ...
input_number: !include input_numbers.yaml
# ...Restart your Home Assistant to update the values (reloading YAML will not be enough).
Prices date reference: 01/08/2025.
| # EDF Tarif Bleu Option Base | |
| tarif_edf_base: | |
| name: EDF Base | |
| initial: 0.1952 | |
| min: 0 | |
| max: 1 | |
| step: 0.0001 | |
| mode: slider | |
| unit_of_measurement: "€ /kWh" | |
| icon: mdi:cash-lock | |
| # EDF Tarif Bleu Option HP/HC | |
| tarif_edf_base_hc: | |
| name: EDF Base HC | |
| initial: 0.1635 | |
| min: 0 | |
| max: 1 | |
| step: 0.0001 | |
| mode: slider | |
| unit_of_measurement: "€ /kWh" | |
| icon: mdi:cash-lock | |
| tarif_edf_base_hp: | |
| name: EDF Base HP | |
| initial: 0.2081 | |
| min: 0 | |
| max: 1 | |
| step: 0.0001 | |
| mode: slider | |
| unit_of_measurement: "€ /kWh" | |
| icon: mdi:cash-lock | |
| # EDF Tarif Bleu Option Tempo | |
| tarif_edf_tempo_bleu_hc: | |
| name: EDF Tempo Bleu HC | |
| initial: 0.1232 | |
| min: 0 | |
| max: 1 | |
| step: 0.0001 | |
| mode: slider | |
| unit_of_measurement: "€ /kWh" | |
| icon: mdi:cash-lock | |
| tarif_edf_tempo_bleu_hp: | |
| name: EDF Tempo Bleu HP | |
| initial: 0.1494 | |
| min: 0 | |
| max: 1 | |
| step: 0.0001 | |
| mode: slider | |
| unit_of_measurement: "€ /kWh" | |
| icon: mdi:cash-lock | |
| tarif_edf_tempo_blanc_hc: | |
| name: EDF Tempo Blanc HC | |
| initial: 0.1391 | |
| min: 0 | |
| max: 1 | |
| step: 0.0001 | |
| mode: slider | |
| unit_of_measurement: "€ /kWh" | |
| icon: mdi:cash-lock | |
| tarif_edf_tempo_blanc_hp: | |
| name: EDF Tempo Blanc HP | |
| initial: 0.1730 | |
| min: 0 | |
| max: 1 | |
| step: 0.0001 | |
| mode: slider | |
| unit_of_measurement: "€ /kWh" | |
| icon: mdi:cash-lock | |
| tarif_edf_tempo_rouge_hc: | |
| name: EDF Tempo Rouge HC | |
| initial: 0.1460 | |
| min: 0 | |
| max: 1 | |
| step: 0.0001 | |
| mode: slider | |
| unit_of_measurement: "€ /kWh" | |
| icon: mdi:cash-lock | |
| tarif_edf_tempo_rouge_hp: | |
| name: EDF Tempo Rouge HP | |
| initial: 0.6468 | |
| min: 0 | |
| max: 1 | |
| step: 0.0001 | |
| mode: slider | |
| unit_of_measurement: "€ /kWh" | |
| icon: mdi:cash-lock |
Bonjour, je ne sais pas si c'est le meilleur endroit pour en discuter, mais je ne voulais pas non plus ouvrir d'issue. J'ai ajouté votre intégration (merci beaucoup !), par contre j'ai utilisé des packages pour la configuration:
configuration.yaml :
homeassistant:
packages: !include_dir_named packageset j'ai effectivement un répertoire packages :
packages
└── rtetempo
├── templates.yaml
└── input_numbers.yaml
Avec vos deux gists, légèrement différents mais je ne voulais pas alourdir ce commentaire. Il s'agit simplement de commencer ces fichiers par la clé template: ou input_number: appropriée et d'indenter le reste du fichier.
J'avais déjà des templates dans mon fichier de config, c'était plus simple et j'aime bien l'idée de grouper par domaine. Donc si ça peut servir à d'autres personnes.
Fichier modifié avec les nouveaux tarifs au 01/02/2025 :
#Source : https://github.com/hekmon/rtetempo?tab=readme-ov-file#exemples-de-cartes-lovelace
# EDF Tarif Bleu Option Base
tarif_edf_base:
name: EDF Base
initial: 0.2016
min: 0
max: 1
step: 0.0001
mode: box
unit_of_measurement: "€ /kWh"
icon: mdi:cash-lock
# EDF Tarif Bleu Option HP/HC
tarif_edf_base_hc:
name: EDF Base HC
initial: 0.1696
min: 0
max: 1
step: 0.0001
mode: box
unit_of_measurement: "€ /kWh"
icon: mdi:cash-lock
tarif_edf_base_hp:
name: EDF Base HP
initial: 0.2146
min: 0
max: 1
step: 0.0001
mode: box
unit_of_measurement: "€ /kWh"
icon: mdi:cash-lock
# EDF Tarif Bleu Option Tempo
tarif_edf_tempo_bleu_hc:
name: EDF Tempo Bleu HC
initial: 0.1288
min: 0
max: 1
step: 0.0001
mode: box
unit_of_measurement: "€ /kWh"
icon: mdi:cash-lock
tarif_edf_tempo_bleu_hp:
name: EDF Tempo Bleu HP
initial: 0.1552
min: 0
max: 1
step: 0.0001
mode: box
unit_of_measurement: "€ /kWh"
icon: mdi:cash-lock
tarif_edf_tempo_blanc_hc:
name: EDF Tempo Blanc HC
initial: 0.1447
min: 0
max: 1
step: 0.0001
mode: box
unit_of_measurement: "€ /kWh"
icon: mdi:cash-lock
tarif_edf_tempo_blanc_hp:
name: EDF Tempo Blanc HP
initial: 0.1792
min: 0
max: 1
step: 0.0001
mode: box
unit_of_measurement: "€ /kWh"
icon: mdi:cash-lock
tarif_edf_tempo_rouge_hc:
name: EDF Tempo Rouge HC
initial: 0.1518
min: 0
max: 1
step: 0.0001
mode: box
unit_of_measurement: "€ /kWh"
icon: mdi:cash-lock
tarif_edf_tempo_rouge_hp:
name: EDF Tempo Rouge HP
initial: 0.6586
min: 0
max: 1
step: 0.0001
mode: box
unit_of_measurement: "€ /kWh"
icon: mdi:cash-lockMaJ avec les tarifs au 1er Février 2025
@hekmon , il semble qu'il y a tjr un mix de box et slider dans le fichier de référence
Bonjour,
Les nouveaux tarifs depuis le 1er aout sont :
C'est mis à jour, merci @MB901 !
Bonjour,
J'utilise RTE Tempo sur un Home Assistant docker, ça marche bien. Merci.
Je voulais le mettre en place sur une autre maison, mais il me semble que RTE Tempo n'est plus sur HACS. Y a t il une raison ?
Je sais que je peux l'installer a la main, mais j'etais curieux.
Merci pour ce travail formidable.
@rudywidmer si vous avez les 2 gists, il ne vous reste plus qu'à créer un widget dans un dashboard, passer en mode code et coller le template suivant:
https://github.com/hekmon/rtetempo/blob/main/res/tempo_prices.yaml
@chtiweb le calendar est automatiquement créé par l'extension rtetempo