mirror of
https://github.com/esphome/esphome-docs.git
synced 2025-01-26 22:21:38 +01:00
document value parameter for timeout filter (#3115)
Co-authored-by: Samuel Sieb <samuel@sieb.net>
This commit is contained in:
parent
05b59d3799
commit
434888aabd
@ -495,10 +495,19 @@ of the input values.
|
||||
************
|
||||
|
||||
After the first value has been sent, if no subsequent value is published within the
|
||||
``specified time period``, send ``NaN``.
|
||||
``specified time period``, send a value which defaults to ``NaN``.
|
||||
Especially useful when data is derived from some other communication
|
||||
channel, e.g. a serial port, which can potentially be interrupted.
|
||||
|
||||
.. code-block:: yaml
|
||||
|
||||
# Example filters:
|
||||
filters:
|
||||
- timeout: 10s # sent value will be NaN
|
||||
- timeout:
|
||||
timeout: 10s
|
||||
value: 0
|
||||
|
||||
``debounce``
|
||||
************
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user