I got the currently consumed current of my washing machine in mA from KNX. With the “Threshold” integration I am able to set a binary sensor to “on” when a specific current value is exceeded.
The problem is that the value falls below the upper limit during runtime only for short periods of time while the device is still running. This leads to a constantly switching binary sensor which makes no sense.
What is the right way to smooth out these spikes below the upper limit? What is the easiest way to send smoothed out values to the threashold integration? (an average or sth like that)
Perhaps someone has some experience with the Filter - Home Assistant integration and could suggest me some filters that make sense in that case.
When you are setting up your automation to check for the running/stopped states make sure you used the “for” time duration. I’m using this same setup and by setting the duration to like 5 minutes I don’t have fals positives. This doesn’t smooth things out from the standpoint of looking at your history however in the case of automation use this works perfect and resolves the issue of false positives when triggering automations.