Bonjour,
Mon problème
Je recherche a afficher un graphique ave custom:apexcharts-card qui represente en barre le cout HP/HC/total par mois sur une année
pour cela j’ai un utility_meter qui compte le cout par mois et qui se remet a zero tous les mois mais au troisieme jour du mois car mon abonnement commence au troisieme jour du mois.
j’ai fais ceci :
type: custom:apexcharts-card
apex_config:
chart:
stacked: true
header:
show: true
title: Conso Mois
show_states: true
colorize_states: true
graph_span: 1year
span:
end: month
offset: +3d
show:
last_updated: true
series:
- entity: sensor.elec_cout_hc_mois_new
type: column
name: HC
unit: €
group_by:
func: max
duration: 1month
- entity: sensor.elec_cout_hp_mois_new
type: column
name: HP
unit: €
group_by:
func: max
duration: 1month
- entity: sensor.elec_cout_total_mois_new
name: Total
unit: €
group_by:
func: max
duration: 1month
extend_to: false
show:
datalabels: true
mais je ne vois pas la barre du mois en cours (juillet)
Si vous pouviez m’aider svp, merci