Threshold: Add matrix of state change behavior (#34602)

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
Gitsarry 2024-09-25 09:53:02 +02:00 committed by GitHub
parent 7bcce9571e
commit 10628567e8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -76,6 +76,24 @@ name:
default: Threshold
{% endconfiguration %}
## Matrix of state change behavior
### Sensor value rising
| Set | Turns on when | Turns off when |
| ------------- | ----------------------- | ----------------------- |
| only upper | sensor > (upper + hyst) | never |
| only lower | never | sensor > (lower + hyst) |
| upper & lower | sensor > (lower + hyst) | sensor > (upper + hyst) |
### Sensor value falling
| Set | Turns on when | Turns off when |
| ------------- | ----------------------- | ----------------------- |
| only upper | never | sensor < (upper - hyst) |
| only lower | sensor < (lower - hyst) | never |
| upper & lower | sensor < (upper - hyst) | sensor < (lower - hyst) |
## Examples
### Is the temperature rising or falling