Skip to content

ApexChartsTodayDailyValues

Luis Miranda edited this page Jan 2, 2024 · 5 revisions

ApexChart: Today's daily average

Plot the mean value for an entire day using the today_average attribute of the sensor.

Graph showing day's average values

type: custom:apexcharts-card
update_interval: 30m
now:
  show: true
span:
  start: day
graph_span: 1d
all_series_config:
  stroke_width: 1
  type: line
  curve: stepline
  group_by:
    func: avg
    duration: 1h
series:
  - entity: sensor.omie_spot_price_pt
    attribute: today_average
    name: Daily price
yaxis:
  - id: price
    align_to: 10