I am using the second graph to track how long my sprinkler system is running. As you can see the X-Axis is scaling as if the data was for hours and the extremas are doing the same.
type: custom:apexcharts-card
show:
last_updated: true
header:
standard_format: false
show: true
show_states: true
colorize_states: true
title: Sprinkler Runtime
experimental:
color_threshold: true
graph_span: 7d
series:
- entity: sensor.sprinkler_on
show:
as_duration: hour
extremas: true
name: Sprinkler Runtime
type: column
group_by:
func: last
duration: 1d