mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-12 20:06:52 +00:00
Clarify state triggers holding using for, ignore attribute changes (#14444)
This commit is contained in:
parent
1033734882
commit
e9bebac1bb
@ -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:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user