Hey,
I’m currently trying to plot a graph of attribute history, like in the webUI, but I’m having trouble getting the average values for a specific period of time (average of 5 minutes, 4 hours etc.).
Then I figured (since pimatic is already able to do this), maybe a parameter could be added to the ‘queryDeviceAttributeEvents’ call to specify a time interval for average values.
I don’t know if this can easily be implemented, but it would be very useful