Salut j’avais ce soucis sur mon suivi conso et je l’ai résolu comme ça :
- type: custom:apexcharts-card
apex_config:
stroke:
width: 1
chart:
height: 250px
legend:
show: false
span:
start: month
offset: '-12 month'
graph_span: 13 month
stacked: true
cache: true
series:
- entity: sensor.linky_hc_monthly
type: column
name: Heures creuses
group_by:
func: max
duration: 1 month
statistics:
type: state
- entity: sensor.linky_hp_monthly
type: column
name: Heures pleines
group_by:
func: max
duration: 1 month
statistics:
type: state
Regarde la partie span et graph span.