mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-05-29 01:08:28 +02:00
Add 'map_linear' and 'clamp' sensor filters (#5040)
This commit is contained in:
+6
-2
@@ -88,8 +88,12 @@ sensor:
|
||||
- debounce: 500s
|
||||
- timeout: 10min
|
||||
- calibrate_linear:
|
||||
- 0 -> 0
|
||||
- 100 -> 100
|
||||
method: exact
|
||||
datapoints:
|
||||
- -1 -> 3
|
||||
- 0.0 -> 1.0
|
||||
- 1.0 -> 2.0
|
||||
- 2.0 -> 3.0
|
||||
- calibrate_polynomial:
|
||||
degree: 3
|
||||
datapoints:
|
||||
|
||||
Reference in New Issue
Block a user