I have a apexcharts-card to show some forecast-data. But if I use show_states in the header it shows the last state. I want to show the first state (todays value). Is this possible ?
type: custom:apexcharts-card
experimental:
color_threshold: true
brush: true # This is required
header:
show: true
show_states: true
title: Prognos Vattenföring
apex_config:
chart:
type: line
xaxis:
type: datetime
tickAmount: 8
labels:
format: dd MMM
yaxis:
decimalsInFloat: 0
graph_span: 8d
span:
start: day
series:
- entity: sensor.vattenwebb_rest
type: area
stroke_width: 1
color_threshold:
- value: 300
color: green
- value: 450
color: yellow
- value: 600
color: red
data_generator: |
return entity.attributes.data