mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-16 05:46:52 +00:00
Update trigger.markdown for consistency with automation_sun.ma… (#11573)
Looks like a similar change was made to `automation_sun.markdown` in #10532, attributed to #10315. As someone trying to add an automation for the sun's elevation, the inconsistency was confusing. I don't know if other parts of this page should be updated in a similar way.
This commit is contained in:
parent
4f88bf1ef5
commit
25d9e68286
@ -216,7 +216,7 @@ automation:
|
||||
trigger:
|
||||
platform: numeric_state
|
||||
entity_id: sun.sun
|
||||
value_template: "{{ state.attributes.elevation }}"
|
||||
value_template: "{{ state_attr('sun.sun', 'elevation') }}"
|
||||
# Can be a positive or negative number
|
||||
below: -4.0
|
||||
action:
|
||||
|
Loading…
x
Reference in New Issue
Block a user