Below/above is lower/higher than, *equal excluded* (#32945)

This commit is contained in:
Clément Notin 2024-05-26 13:00:24 +02:00 committed by GitHub
parent 84814d621c
commit 985c08a8b7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -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.

View File

@ -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.