mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-22 00:36:49 +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:
|
trigger:
|
||||||
platform: numeric_state
|
platform: numeric_state
|
||||||
entity_id: sun.sun
|
entity_id: sun.sun
|
||||||
value_template: "{{ state_attr('sun.sun', 'elevation') }}"
|
attribute: elevation
|
||||||
# Can be a positive or negative number
|
# Can be a positive or negative number
|
||||||
below: -4.0
|
below: -4.0
|
||||||
action:
|
action:
|
||||||
@ -296,7 +296,7 @@ automation:
|
|||||||
|
|
||||||
{% endraw %}
|
{% 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:
|
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