Welcome @robdejonge
If your datasource is InfluxDB and you are using Flux, see here: Duration of switch ON time in hour_minutes_seconds - #14 by grant2
Welcome @robdejonge
If your datasource is InfluxDB and you are using Flux, see here: Duration of switch ON time in hour_minutes_seconds - #14 by grant2