Our library should add methods to the Item class to provide easy and convenient access to future Item states.
I can imagine having a future property similar to history of the Items class, with methods like nextState(skipEqual), stateAt(timestamp) and stateAtRange(timestamp, range).
https://github.com/openhab/openhab-core/pull/3597 introduced support for persisting historic and future states using a time series.
Our library should add methods to the Item class to provide easy and convenient access to future Item states.
I can imagine having a
future
property similar tohistory
of the Items class, with methods likenextState(skipEqual)
,stateAt(timestamp)
andstateAtRange(timestamp, range)
.