1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-01 10:52:19 +01:00

[sensor] A little bit of filter clean-up (#9986)

This commit is contained in:
Keith Burzinski
2025-07-31 21:55:59 -05:00
committed by GitHub
parent 0954a6185c
commit 291215909a
4 changed files with 20 additions and 9 deletions

View File

@@ -135,10 +135,17 @@ sensor:
- throttle: 1s
- throttle_average: 2s
- throttle_with_priority: 5s
- throttle_with_priority:
timeout: 3s
value: 42.0
- throttle_with_priority:
timeout: 3s
value: !lambda return 1.0f / 2.0f;
- throttle_with_priority:
timeout: 3s
value:
- 42.0
- !lambda return 2.0f / 2.0f;
- nan
- timeout:
timeout: 10s