I’m having trouble understanding thd concept of variables.
I have a value every few seconds in an automation and like to store it. So I created an input_number as storage.
But when I try to store the same value multiple times, since it isn’t changing, the variable gets never updated: the development tools show that the variable has had its last update when it was last changed, but my automation did fire.
When I want to calculate the min/max value and the mean over the last 15 minutes with the statistics module, I end up with no output, when the value haven’t changed in the last 15 minutes.
Is this how it’s supposed to work?
If so is there a different way to store values in a database?