mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 09:17:06 +00:00
Move note so it better aligns with the example code it references (#36062)
This commit is contained in:
parent
9452ab654c
commit
54b5fc9726
@ -241,6 +241,11 @@ automation:
|
||||
|
||||
{% endraw %}
|
||||
|
||||
{% note %}
|
||||
Listing above and below together means the numeric_state has to be between the two values.
|
||||
In the example above, the trigger would fire a single time if a numeric_state goes into the 17.1-24.9 range (above 17 and below 25). It will only fire again, once it has left the defined range and enters it again.
|
||||
{% endnote %}
|
||||
|
||||
When the `attribute` option is specified the trigger is compared to the given `attribute` instead of the state of the entity.
|
||||
|
||||
{% raw %}
|
||||
@ -288,11 +293,6 @@ automation:
|
||||
|
||||
{% endraw %}
|
||||
|
||||
{% note %}
|
||||
Listing above and below together means the numeric_state has to be between the two values.
|
||||
In the example above, the trigger would fire a single time if a numeric_state goes into the 17.1-24.9 range (above 17 and below 25). It will only fire again, once it has left the defined range and enters it again.
|
||||
{% endnote %}
|
||||
|
||||
Number helpers (`input_number` entities), `number`, `sensor`, and `zone` entities
|
||||
that contain a numeric value, can be used in the `above` and `below` thresholds.
|
||||
However, the comparison will only be made when the entity specified in the trigger is updated. This would look like:
|
||||
|
Loading…
x
Reference in New Issue
Block a user