Clarify state triggers holding using for, ignore attribute changes (#14444)

This commit is contained in:
Franck Nijhof 2020-09-09 21:46:26 +02:00
parent 1033734882
commit e9bebac1bb
No known key found for this signature in database
GPG Key ID: D62583BA8AB11CA3

View File

@ -171,6 +171,9 @@ automation:
for: "00:00:30"
```
Please note, that when holding a state, changes to attributes are ignored and
do not cancel the hold time.
You can also fire the trigger when the state value changed from a specific
state, but hasn't returned to that state value for the specified time.
@ -203,7 +206,8 @@ automation:
```
When the `attribute` option is specified, all of the above works, but only
applies to the specific state value of that attribute.
applies to the specific state value of that attribute. In this case the
normal state value of the entity is ignored.
For example, this trigger only fires if the boiler was heating for 10 minutes: