mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 17:27:19 +00:00
Below/above is lower/higher than, *equal excluded* (#32945)
This commit is contained in:
parent
84814d621c
commit
985c08a8b7
@ -215,7 +215,7 @@ automation:
|
||||
|
||||
## Numeric state trigger
|
||||
|
||||
Fires when the numeric value of an entity's state (or attribute's value if using the `attribute` property, or the calculated value if using the `value_template` property) **crosses** a given threshold. On state change of a specified entity, attempts to parse the state as a number and fires if the value is changing from above to below or from below to above the given threshold.
|
||||
Fires when the numeric value of an entity's state (or attribute's value if using the `attribute` property, or the calculated value if using the `value_template` property) **crosses** a given threshold (equal excluded). On state change of a specified entity, attempts to parse the state as a number and fires if the value is changing from above to below or from below to above the given threshold (equal excluded).
|
||||
|
||||
<div class='note'>
|
||||
Crossing the threshold means that the trigger only fires if the state wasn't previously within the threshold.
|
||||
|
@ -165,7 +165,7 @@ condition:
|
||||
|
||||
## Numeric state condition
|
||||
|
||||
This type of condition attempts to parse the state of the specified entity or the attribute of an entity as a number, and triggers if the value matches the thresholds.
|
||||
This type of condition attempts to parse the state of the specified entity or the attribute of an entity as a number, and triggers if the value matches the thresholds (strictly below/above, so equal excluded).
|
||||
|
||||
If both `below` and `above` are specified, both tests have to pass.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user