Show difference for sensor between current and day before values

Hi,

I want to display difference between current value of the sensor and value it had 1 day before. I have graph for sensor value for last 3 days so HASS has required data but I can’t figureout how to use that data. Thanks!

Create an SQL sensor to get yesterday’s value. There is an example that shows how to do this here:

Create a template sensor or helper that subtracts this value from today’s value.

1 Like