1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-02 03:12:20 +01:00

Implement median filter (#697)

Add median filter to sensors component
This commit is contained in:
Jasper van der Neut - Stulen
2019-08-27 19:39:04 +02:00
committed by Brandon Davidson
parent c5db457700
commit 0fc267dfc7
4 changed files with 86 additions and 0 deletions

View File

@@ -191,6 +191,10 @@ sensor:
- 100.0 -> 102.5
- filter_out: 42.0
- filter_out: nan
- median:
window_size: 5
send_every: 5
send_first_at: 3
- sliding_window_moving_average:
window_size: 15
send_every: 15