My sensor for gas use (“slimmemeter”) shows only the total gas consumption over time. I would like to create from this a sensor that shows gas consumption per hour. For this I would have to subtract the total consumption from one hour ago from the current consumption. But I have no clue how to create such a sensor. Can anyone help?
Try using the utility_meter function.
Something like this
Brilliant! It works.
Where could I have found this function?
thanks, it is amazing how much functionality there is in home assistant !