I want to create a graph with the same options as the energy dashboard to track the hours of activation of my boiler.
Functionalities:
- Buttom to select the range of timeto be visualizad : 1d, 7d, 1M, 6M , 1y
- Changing the period of each bar according to the rage of time: 1D–> hour, 7d,1M–>day, 6M–>1y: Month
something like this but simpier, with 5 buttons to select predefined time ranges:
SO far I have tried wiht plotly graphs, but is not working properly , as explined in this other topic:
I have also checked appexchart but I didn’t find any option to dinamically change the time range and period of a bar graphs.
It seems very strange not having this option natively in HA , as it’s working in the energy dashboard but , does anybody how to do a graph like that?
Thanks