I’m wondering if there is a way in HABPanel to access historic item states from persisted items or the possibility to use the general persistence functions, like averageSince, maximumSince, etc.
What I want to achieve is to add indicators, like in @pmpkk’s Pride Theme, that show if a value is increasing or decreasing in relation to the previous value. AFAIK @pmpkk is using a python script to get the persisted values from the InfluxDB, but I would prefer a more native way if possible.
There are a few aggregation features implemented client-side in the new OH3 UI, they don’t include averageSince or similar, it’s quite complicated to get it right, so it doesn’t apply to your scenario (which I reckon is representing trends).
There’s a new “layout pages” concept in that UI, resembling HABPanel but not quite, as it’s optimized for your average mobile screen with varying widths, not fixed tablets; some widgets will however feature a trendline:
There could be an equivalent in HABPanel however, even if the technologies differ, someone could end up doing it.