eric1905, this is really great widget, many thanks. I have made few changes to it in order to calculate the delta values so I added a line
aggregationFunction: diff_last
I’m using InfluxBD so I had to add this.
Now my question is that can you somehow add a label (box) which would have the total daily electricity consumption. I haven’t tried to create a widget which would show e.g. monthly electricity consumption but this should be straightforward. I haven’t implemented Grafana and I wouldn’t like to use it because it would add one more complexity in my OH.