Fix filter sensor missing window_size argument (#14252)
* missing window_size argument * test throttle filter configuration
This commit is contained in:
1 parent
255a85ad02
commit
354470469f
2 files changed
+5
No files matched your search
@@ -67,6 +67,9 @@ class TestFilterSensor(unittest.TestCase):
|
||||
'filter': 'lowpass',
|
||||
'time_constant': 10,
|
||||
'precision': 2
|
||||
}, {
|
||||
'filter': 'throttle',
|
||||
'window_size': 1
|
||||
}]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user