mirror of
https://github.com/esphome/esphome-docs.git
synced 2024-12-26 17:27:47 +01:00
Add timeout filter documentation (#3068)
This commit is contained in:
parent
078c5a2def
commit
b85e32ae95
@ -151,6 +151,7 @@ Filters are processed in the order they are defined in your configuration.
|
||||
- throttle_average: 1s
|
||||
- heartbeat: 5s
|
||||
- debounce: 0.1s
|
||||
- timeout: 1min
|
||||
- delta: 5.0
|
||||
- or:
|
||||
- throttle: 1s
|
||||
@ -466,6 +467,14 @@ The last value of the sensor will be sent.
|
||||
So a value of ``10s`` will cause the filter to output values every 10s regardless
|
||||
of the input values.
|
||||
|
||||
``timeout``
|
||||
************
|
||||
|
||||
After the first value has been sent, if no subsequent value is published within the
|
||||
``specified time period``, send ``NaN``.
|
||||
Especially useful when data is derived from some other communication
|
||||
channel, e.g. a serial port, which can potentially be interrupted.
|
||||
|
||||
``debounce``
|
||||
************
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user