Hello
I’m running into a problem, that after looking it up, can’t find any solution
I’m trying to do what energy dashboard can’t : setting a specific date for my billing.
I have utility meter running fine with an offset for that.
The problem lies in showing the data.
My monthly utility meter reset on the 9th of the month
And i would like to show the daily value over a month period with a starting point different from the begining of the month.
Currently, my billing of october will end on the 9th of november
so in my chart, I would like that 1 month to be equal from the 9th of october to the 9th of november
I tried with the offset option in span :
type: custom:apexcharts-card
graph_span: 1month
span:
start: month
offset: +8d
stacked: true
header:
show: true
title: Consommation journalière
show_states: true
colorize_states: true
series:
- entity: sensor.cumulgazeur_daily
type: column
color: '#1781d8'
name: Tarif unique
group_by:
duration: 24h
func: max
but the graph shows only novembre, and start on the 9th, as we are the 3rd, I don’t have any data
I want 1 month to be from the 9th to the 9th, and daily bar for each day between those 2 dates
Same problem for the monthly graph, which shows 1 bar per month over 12 months
as we are now in november, a new month as started, and the cost value stop recording in october and switched in november.
type: custom:apexcharts-card
graph_span: 1year
span:
start: year
offset: +8month
#(here I just wanted to start the year in september because I don't have any data before that)
stacked: true
header:
show: true
title: Consommation mensuelle
show_states: true
colorize_states: true
series:
- entity: sensor.cumulgazeur_monthly
type: column
color: '#1781d8'
name: Tarif unique
group_by:
duration: 1month
func: max
I want 1 bar to be from the 9th to the 9th
Is there a way to do this ?
thyx a lot for your help