Skip to content

Instantly share code, notes, and snippets.

@mathieucarbou
Last active February 11, 2026 13:38
Show Gist options
  • Select an option

  • Save mathieucarbou/d3a0e6b8e371c3376ab49af36de76f94 to your computer and use it in GitHub Desktop.

Select an option

Save mathieucarbou/d3a0e6b8e371c3376ab49af36de76f94 to your computer and use it in GitHub Desktop.
Suivi énergie et coût Tempo vs TRV

Suivi énergie et coût Tempo vs TRV

image

Le code YAML de chaaque Widget est dans les ficheirs yaml en dessous.

Nécessite:

Par jour

Capture d’écran 2026-01-07 à 21 34 20

Par mois

Capture d’écran 2026-01-07 à 21 46 29
type: custom:plotly-graph
title: Coût (€/jour)
refresh_interval: 5m
hours_to_show: 60d
layout:
height: 500
barmode: relative
xaxis:
rangeselector:
"y": 1.2
bgcolor: grey
buttons:
- count: 30
step: day
- count: 60
step: day
- count: 90
step: day
entities:
- entity: sensor.linky_energie_soutiree_tempo_bleu_hp_cost
showlegend: false
statistic: sum
type: bar
unit_of_measurement: €
period: day
marker:
color: "#0000FF"
filters:
- delta
- store_var: old_tempo_bleu_hp
- entity: sensor.linky_energie_soutiree_tempo_bleu_hc_cost
showlegend: false
statistic: sum
type: bar
unit_of_measurement: €
period: day
marker:
color: "#00008B"
filters:
- delta
- store_var: old_tempo_bleu_hc
- entity: sensor.linky_energie_soutiree_tempo_blanc_hp_cost
showlegend: false
statistic: sum
type: bar
unit_of_measurement: €
period: day
marker:
color: "#FFFFFF"
filters:
- delta
- store_var: old_tempo_blanc_hp
- entity: sensor.linky_energie_soutiree_tempo_blanc_hc_cost
showlegend: false
statistic: sum
type: bar
unit_of_measurement: €
period: day
marker:
color: "#d3d3d3"
filters:
- delta
- store_var: old_tempo_blanc_hc
- entity: sensor.linky_energie_soutiree_tempo_rouge_hp_cost
showlegend: false
statistic: sum
type: bar
unit_of_measurement: €
period: day
marker:
color: "#FF0000"
filters:
- delta
- store_var: old_tempo_rouge_hp
- entity: sensor.linky_energie_soutiree_tempo_rouge_hc_cost
showlegend: false
statistic: sum
type: bar
unit_of_measurement: €
period: day
marker:
color: "#8b0000"
filters:
- delta
- store_var: old_tempo_rouge_hc
- entity: sensor.linky_energie_soutiree_tempo_bleu_hp_cost_2
name: Tempo Bleu HP
statistic: sum
type: bar
unit_of_measurement: €
period: day
marker:
color: "#0000FF"
filters:
- delta
- store_var: tempo_bleu_hp
- entity: sensor.linky_energie_soutiree_tempo_bleu_hc_cost_2
name: Tempo Bleu HC
type: custom:plotly-graph
title: Coût (€/mois)
refresh_interval: 5m
hours_to_show: 12M
layout:
height: 500
barmode: relative
xaxis:
rangeselector:
"y": 1.2
bgcolor: grey
buttons:
- count: 6
step: month
- count: 12
step: month
- count: 18
step: month
- count: 24
step: month
entities:
- entity: sensor.linky_energie_soutiree_tempo_bleu_hp_cost
showlegend: false
statistic: sum
type: bar
unit_of_measurement: €
period: month
marker:
color: "#0000FF"
filters:
- delta
- entity: sensor.linky_energie_soutiree_tempo_bleu_hc_cost
showlegend: false
statistic: sum
type: bar
unit_of_measurement: €
period: month
marker:
color: "#00008B"
filters:
- delta
- entity: sensor.linky_energie_soutiree_tempo_blanc_hp_cost
showlegend: false
statistic: sum
type: bar
unit_of_measurement: €
period: month
marker:
color: "#FFFFFF"
filters:
- delta
- entity: sensor.linky_energie_soutiree_tempo_blanc_hc_cost
showlegend: false
statistic: sum
type: bar
unit_of_measurement: €
period: month
marker:
color: "#d3d3d3"
filters:
- delta
- entity: sensor.linky_energie_soutiree_tempo_rouge_hp_cost
showlegend: false
statistic: sum
type: bar
unit_of_measurement: €
period: month
marker:
color: "#FF0000"
filters:
- delta
- entity: sensor.linky_energie_soutiree_tempo_rouge_hc_cost
showlegend: false
statistic: sum
type: bar
unit_of_measurement: €
period: month
marker:
color: "#8b0000"
filters:
- delta
- entity: sensor.linky_energie_soutiree_tempo_bleu_hp_cost_2
name: Tempo Bleu HP
statistic: sum
type: bar
unit_of_measurement: €
period: month
marker:
color: "#0000FF"
filters:
- delta
- entity: sensor.linky_energie_soutiree_tempo_bleu_hc_cost_2
name: Tempo Bleu HC
statistic: sum
type: bar
unit_of_measurement: €
period: month
marker:
type: custom:plotly-graph
title: Énergie (kWh/jour)
refresh_interval: 5m
hours_to_show: 60d
layout:
height: 500
barmode: relative
xaxis:
rangeselector:
"y": 1.2
bgcolor: grey
buttons:
- count: 30
step: day
- count: 60
step: day
- count: 90
step: day
entities:
- entity: sensor.linky_energie_soutiree_tempo_bleu_hp
name: Tempo Bleu HP
statistic: sum
type: bar
unit_of_measurement: kWh
period: day
marker:
color: "#0000FF"
filters:
- delta
- entity: sensor.linky_energie_soutiree_tempo_bleu_hc
name: Tempo Bleu HC
statistic: sum
type: bar
unit_of_measurement: kWh
period: day
marker:
color: "#00008B"
filters:
- delta
- entity: sensor.linky_energie_soutiree_tempo_blanc_hp
name: Tempo Blanc HP
statistic: sum
type: bar
unit_of_measurement: kWh
period: day
marker:
color: "#FFFFFF"
filters:
- delta
- entity: sensor.linky_energie_soutiree_tempo_blanc_hc
name: Tempo Blanc HC
statistic: sum
type: bar
unit_of_measurement: kWh
period: day
marker:
color: "#d3d3d3"
filters:
- delta
- entity: sensor.linky_energie_soutiree_tempo_rouge_hp
name: Tempo Rouge HP
statistic: sum
type: bar
unit_of_measurement: kWh
period: day
marker:
color: "#FF0000"
filters:
- delta
- entity: sensor.linky_energie_soutiree_tempo_rouge_hc
name: Tempo Rouge HC
statistic: sum
type: bar
unit_of_measurement: kWh
period: day
marker:
color: "#8b0000"
filters:
- delta
- entity: sensor.home_consumed_energy_meter_daily
name: Consommation
statistic: sum
type: bar
unit_of_measurement: kWh
period: day
marker:
color: "#A52A2A"
filters:
- multiply: -1
- delta
- entity: sensor.inverters_energy
name: Solaire consommé
type: custom:plotly-graph
title: Énergie (kWh/mois)
refresh_interval: 5m
hours_to_show: 12M
layout:
height: 500
barmode: relative
xaxis:
rangeselector:
"y": 1.2
bgcolor: grey
buttons:
- count: 6
step: month
- count: 12
step: month
- count: 18
step: month
- count: 24
step: month
entities:
- entity: sensor.linky_energie_soutiree_tempo_bleu_hp
name: Tempo Bleu HP
statistic: sum
type: bar
unit_of_measurement: kWh
period: month
marker:
color: "#0000FF"
filters:
- delta
- entity: sensor.linky_energie_soutiree_tempo_bleu_hc
name: Tempo Bleu HC
statistic: sum
type: bar
unit_of_measurement: kWh
period: month
marker:
color: "#00008B"
filters:
- delta
- entity: sensor.linky_energie_soutiree_tempo_blanc_hp
name: Tempo Blanc HP
statistic: sum
type: bar
unit_of_measurement: kWh
period: month
marker:
color: "#FFFFFF"
filters:
- delta
- entity: sensor.linky_energie_soutiree_tempo_blanc_hc
name: Tempo Blanc HC
statistic: sum
type: bar
unit_of_measurement: kWh
period: month
marker:
color: "#d3d3d3"
filters:
- delta
- entity: sensor.linky_energie_soutiree_tempo_rouge_hp
name: Tempo Rouge HP
statistic: sum
type: bar
unit_of_measurement: kWh
period: month
marker:
color: "#FF0000"
filters:
- delta
- entity: sensor.linky_energie_soutiree_tempo_rouge_hc
name: Tempo Rouge HC
statistic: sum
type: bar
unit_of_measurement: kWh
period: month
marker:
color: "#8b0000"
filters:
- delta
- entity: sensor.home_consumed_energy_meter_daily
name: Consommation
statistic: sum
type: bar
unit_of_measurement: kWh
period: month
marker:
color: "#A52A2A"
filters:
- multiply: -1
- delta
- entity: sensor.inverters_energy
name: Solaire consommé
statistic: sum
type: bar
unit_of_measurement: kWh
period: month
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment