Dear Apex Chart gurus … Prey tell why are the totals zero (top of chart). Everything else looks fine and is correct (for sensor values).
type: custom:apexcharts-card
graph_span: 1d
span:
end: day
stacked: true
now:
show: true
label: NOW
color: yellow
header:
show: true
title: Consumption KwH
show_states: true
colorize_states: true
apex_config:
xaxis:
position: "on"
labels:
format: HH
all_series_config:
type: column
unit: kWh
float_precision: 0
opacity: 1
show:
legend_value: false
statistics:
type: change
period: hour
align: end
series:
- entity: sensor.heating_climatecontrol_heating_daily_electrical_consumption
offset: "-1d"
color: white
name: Yesterday
- entity: sensor.heating_climatecontrol_heating_daily_electrical_consumption
color: red
name: Today