Hello everyone.
I would like to create a curve using custom:plotly-graph that only shows the data from 6:00 a.m. to 10:00 p.m.
type: custom:plotly-graph
layout:
title: Leistung jeweils von 06:00 bis 22:00 Uhr
xaxis:
type: date
range:
- "{{ (now() + timedelta(hours=6)).isoformat() }}"
- "{{ (now() + timedelta(hours=22)).isoformat() }}"
yaxis:
title: Watt
entities:
- entity: sensor.solis_leistung_ins_netz
name: Leistung Solis Wechselrichter
show_legend: true
- entity: sensor.growatt_leistung_ins_netz
name: Leistung Growatt Wechselrichter
show_legend: true
- entity: sensor.pv_leistung_ins_netz
name: Leistung Gesamt
show_legend: true
statistical: false
Unfortunately, the graph only shows years…
Does anyone have an idea how to solve the problem that only the data from 6 a.m. to 10 p.m. is displayed for the current day?
I would also like to configure the y-axis so that the lower value is “0” but open at the top.
Is there a solution for this too?
Best regards
Michael