mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-21 00:06:51 +00:00
Update trigger.markdown (#14711)
Co-authored-by: Franck Nijhof <git@frenck.dev>
This commit is contained in:
parent
543bb1d874
commit
f170b42a10
@ -286,7 +286,7 @@ automation:
|
||||
trigger:
|
||||
platform: numeric_state
|
||||
entity_id: sun.sun
|
||||
value_template: "{{ state_attr('sun.sun', 'elevation') }}"
|
||||
attribute: elevation
|
||||
# Can be a positive or negative number
|
||||
below: -4.0
|
||||
action:
|
||||
@ -296,7 +296,7 @@ automation:
|
||||
|
||||
{% endraw %}
|
||||
|
||||
If you want to get more precise, start with the US Naval Observatory [tool](http://jaxchessnews.tripod.com/astro/id124.html) which will help you estimate what the solar elevation will be at any specific time. Then from this, you can select from the defined twilight numbers.
|
||||
If you want to get more precise, you can use this [solar calculator](https://www.esrl.noaa.gov/gmd/grad/solcalc/), which will help you estimate what the solar elevation will be at any specific time. Then from this, you can select from the defined twilight numbers.
|
||||
|
||||
Although the actual amount of light depends on weather, topography and land cover, they are defined as:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user