Reorganize the getting started and component pages
This commit is contained in:
parent
e134f73933
commit
759d107680
23 changed files with 831 additions and 144 deletions
40
source/components/sun.markdown
Normal file
40
source/components/sun.markdown
Normal file
|
@ -0,0 +1,40 @@
|
|||
---
|
||||
layout: page
|
||||
title: "Tracking the Sun"
|
||||
description: "Instructions how to track the sun within Home Assistant."
|
||||
date: 2015-01-24 14:39
|
||||
sidebar: false
|
||||
comments: false
|
||||
sharing: true
|
||||
footer: true
|
||||
---
|
||||
|
||||
The `sun` component will use your current location to track if the sun is above or below the horizon. This is a common ingredient within Home Automation.
|
||||
|
||||
To set it up, add the following lines to your `home-assistant.conf`:
|
||||
|
||||
```
|
||||
[homeassistant]
|
||||
latitude=32.87336
|
||||
longitude=-117.22743
|
||||
```
|
||||
|
||||
<p class='img'>
|
||||
<img src='{{site_root}}/images/screenshots/more-info-dialog-sun.png' />
|
||||
</p>
|
||||
|
||||
### Implementation Details
|
||||
|
||||
#### 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
|
||||
| `nest_setting` | Date and time of the next sun setting
|
Loading…
Add table
Add a link
Reference in a new issue