mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-21 16:27:19 +00:00
Add icon and variable description
This commit is contained in:
parent
53a9ea1446
commit
85f518388c
@ -9,6 +9,7 @@ sharing: true
|
||||
footer: true
|
||||
---
|
||||
|
||||
<img src='/images/supported_brands/weather-clear.png.png' class='brand pull-right' />
|
||||
The `sun` component will use your current location to track if the sun is above or below the horizon.
|
||||
The sun can be used within automation as [a trigger with an optional offset to simulate dawn/dusk][automation-trigger].
|
||||
|
||||
@ -21,10 +22,14 @@ homeassistant:
|
||||
longitude: -117.22743
|
||||
|
||||
sun:
|
||||
# Optional. If ommitted will be retrieved from Google Maps
|
||||
elevation: 123
|
||||
```
|
||||
|
||||
|
||||
Configuration variables:
|
||||
|
||||
- **elevation** (*Optional*): The solar elevation angle is the altitude of the sun. If ommitted will be retrieved from Google Maps.
|
||||
|
||||
<p class='img'>
|
||||
<img src='/images/screenshots/more-info-dialog-sun.png' />
|
||||
</p>
|
||||
|
Loading…
x
Reference in New Issue
Block a user