mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-05-05 18:48:59 +00:00
1.4 KiB
1.4 KiB
layout, title, description, date, sidebar, comments, sharing, footer
layout | title | description | date | sidebar | comments | sharing | footer |
---|---|---|---|---|---|---|---|
page | Tracking the Sun | Instructions how to track the sun within Home Assistant. | 2015-01-24 14:39 | false | false | true | true |

# Example configuration.yaml entry
homeassistant:
latitude: 32.87336
longitude: -117.22743
sun:
elevation: 123
Configuration variables:
- elevation (Optional): The solar elevation angle is the altitude of the sun. If ommitted will be retrieved from Google Maps.
{% linkable_title Implementation Details %}
{% linkable_title Maintains entity sun.sun
%}
Possible state | Description |
---|---|
above_horizon |
When the sun is above the horizon. |
below_horizon |
When the sun is below the horizon. |
State Attributes | Description |
---|---|
next_rising |
Date and time of the next sun rising |
next_setting |
Date and time of the next sun setting |