OH3 script for time since last update

There are a number of Python examples for working with Groups at Design Pattern: Working with Groups in Rules

One thing to note is if you are using rrd4j for persistence, this will only ever return a time of one minute ago or less because rrd4j requires a value be saved to the database every minute and there is no way to distinguish between an update to the Item or a record saved on the minute because that’s what rrd4j requires.