Hello, I’ve been having a problem with filters on the power values for a smart plug.
The power level gets stuck at a random higher level and doesn’t revert to 0W once the dryer is finished. It seems like my TS011F smart plug only reports the 0W value once, and then doesn’t report any further values until the power increases again. The blue lines in the graph are the original sensor data, and you can see that they do revert to 0W properly. The purple line is the filter sensor, and you can see it gets stuck at a higher value without going back down to 0W.
Here’s my filter sensor config:
- platform: filter
name: "Filtered Dryer Plug power"
- filter: outlier
- filter: lowpass
What’s the best way to fix the filter so that it properly reverts to 0W?
Should I change some settings in zigbee2mqtt?