I am getting total power consumption on a sensor and it is just rising. Yesterday’s value was 500, today is 600 etc. I want to track these differences (600 - 500 = 100) in a new sensor maybe and show a graph for the last 30 days.
chart_type: bar
period: day
days_to_show: 30
type: statistics-graph
entities:
- sensor.power_this_month
stat_types:
- change
That will give you a bar type graph that shows the power usage for each day for the last thirty days.
You can see the values when you hover over the bar chart.