mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-13 12:26:50 +00:00
Finish sentence (#17343)
This commit is contained in:
parent
82dda773b7
commit
367ead6353
@ -130,7 +130,7 @@ The returned value is rounded to the number of decimals defined in (`precision`)
|
|||||||
|
|
||||||
The Outlier filter (`outlier`) is a basic Band-pass filter, as it cuts out any value outside a specific range.
|
The Outlier filter (`outlier`) is a basic Band-pass filter, as it cuts out any value outside a specific range.
|
||||||
|
|
||||||
The included Outlier filter will discard any value beyond a band centered on the median of the previous values, replacing it with the median value of the previous values. If inside the band, the
|
The included Outlier filter will discard any value beyond a band centered on the median of the previous values, replacing it with the median value of the previous values. If inside the band, the current state is returned.
|
||||||
|
|
||||||
```python
|
```python
|
||||||
distance = abs(state - median(previous_states))
|
distance = abs(state - median(previous_states))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user