mirror of
https://github.com/esphome/esphome-docs.git
synced 2025-02-23 02:51:38 +01:00
Fix outdated on_value_range docs
This commit is contained in:
parent
d874164247
commit
e630eab6c3
@ -226,7 +226,8 @@ With this automation you can observe if a sensor value passes from outside
|
||||
a defined range of values to inside a range. For example you can have an
|
||||
automation that triggers when a humidity crosses a threshold, and then turns on a dehumidifier.
|
||||
This trigger will only trigger when the new value is inside the range and the previous value
|
||||
was outside the range. It will also trigger on startup if the first value received is inside the range.
|
||||
was outside the range. On startup, the last state before reboot is restored and if the value crossed
|
||||
the boundary during the boot process, the trigger is also executed.
|
||||
|
||||
Define the range with ``above`` and ``below``. If only one of them is defined, the interval is half-open.
|
||||
So for example ``above: 5`` with no below would mean the range from 5 to positive infinity.
|
||||
|
Loading…
Reference in New Issue
Block a user