I’m not sure my title is very clear, so let me explain.
I’ve got an addon that exposes water consumption data retrieved from an API.
The API only allows retrieving 3 months of data per call.
Ideally, I would like to loop through multiple calls to initialize the historical data.
But of course, I don’t want to do that every time the binding starts.
My first idea was to verify if item has allready historical data.
But as far as I understand, it’s not good practice to request item states directly from a binding.
Hello Laurent,
You might be right that properties may not persist for unmanaged things. I remind that some binding use local storage for such topics. I found at least thinq on my system storing data in /var/lib/openhab/thinq