Track the amount of increased/decreased energy use of a sensor!

Hey! Could someone help me to make a template sensor of my momentary effect usage-sensor that show the latest increase or decrease of Watt?
I had that feature in IKEAs Sparsnäs that showed a “+XXXXW” or “-XXXW” if you watched the display.
But now I use the SlimmeLezer to HA and would like to try get that same feature if its possible.
Since that momentary measures the total effect of my house this feature of the latest increase/decrease would be easy to clearly see what all my devices use. Hope you understand what I’m looking for :slight_smile:
Appreciate all help!