#How can I trigger on a sum, or some other math operation over the state of N entities?
1 messages · Page 1 of 1 (latest)
You can do some things like a sum with a group - a sensor group can do sum, min, max, last change etc
Sum of squares though you'd have to do a template
You would then want to use a statistics helper to sum that result over time (an integral would sum over the entire life and only increase, whereas the statistics helper can do say "the last minute")
As in create a sensor group out of a number of sensors and then get a sum out of that?
I think I'll look at template sensors in the meantime.
Yep
What is the schedule by which these template sensors get updated?
Whenever a base sensor it references updates
I've tried setting up a moving average using the statistics helper, but it seems that only applies to sensors and not outputs from other helpers. Is there another way to do this?