I want to show a bar diagram using the mini graph card of a boiler state sensor in my ui.
I’d like to have one diagramm that shows one bar for each day and one that shows one bar for each hour.
So if it was on for 30 minutes between 5 and 6 a.m. it should show a 30 minutes bar (so max would be 60min) or a 50% bar.
You are right, I explained it wrong. The sensor would show from 7:00 to 7:45.
But in the bar diagram it takes the time now and than makes one hour bars.
So if I look at it on 7:45 it will show me …; 5:45-6:45; 6:45-7:45 bars. And of courese I’d like to have 5:00-6:00; 6:00-7:00 and 7:00-7:45
that still doesn’t make sense because you are replacing the start minute time with zero. The only explanation is that the display is incorrect and you are actually seeing 5-6 and so forth.
As you can see it shows me bars like 8:35-9:35 but I want to force it to show full hours (8:00 to 9:00). Independent on which time I look at the diagram.