Simple time moving average helpers stop updating when the underlying sensor stops updating, like when its a power measurement from a socket that is off and remains at zero:
Ive read some ways to force updates in Z2M, but that feels like the wrong solution and apparently is going to get depreciated. A time based moving average should update every time, Id call this a bug, but Im open to work arounds.