You probably want a moving avererage rather than a timer, there is probably useful code here (I don’t have shades)
var int Lux_morgens_hoch = Garten_Auge_Lux.averageSince(now.minusMinutes(5))
You probably want a moving avererage rather than a timer, there is probably useful code here (I don’t have shades)
var int Lux_morgens_hoch = Garten_Auge_Lux.averageSince(now.minusMinutes(5))