mirror of
https://github.com/esphome/esphome.git
synced 2026-02-18 15:35:59 -07:00
[sensor] Clamp filter handles non-finite values better (#13457)
This commit is contained in:
@@ -117,6 +117,7 @@ sensor:
|
||||
- 10.0 -> 12.1
|
||||
- 13.0 -> 14.0
|
||||
- clamp:
|
||||
# Infinity and NaN will be clamped (NaN -> min_value, +Infinity -> max_value, -Infinity -> min_value)
|
||||
max_value: 10.0
|
||||
min_value: -10.0
|
||||
- debounce: 0.1s
|
||||
|
||||
Reference in New Issue
Block a user