Convert documentation to use configuration.yaml

This commit is contained in:
Paulus Schoutsen 2015-02-28 10:26:58 -08:00
parent 111338007d
commit 4108e166ff
19 changed files with 150 additions and 154 deletions

View file

@ -13,29 +13,29 @@ One of the things most people want at some point in their home automation is to
Home Assistant currently supports the awesome [PushBullet](https://www.pushbullet.com/), a free service to send information between your phones, browsers and friends.
To add PushBullet to your installation, add the following to your `home-assistant.conf` file:
To add PushBullet to your installation, add the following to your `configuration.yaml` file:
```
[notify]
platform=pushbullet
api_key=YOUR_API_KEY
notify:
platform: pushbullet
api_key: YOUR_API_KEY
```
### Automation example
Notifications are great to be used within Home Automation. Below is a an example configuration that you can add to your `home-assistant.conf` to be notified when the sun sets.
Notifications are great to be used within Home Automation. Below is a an example configuration that you can add to your `configuration.yaml` to be notified when the sun sets.
```
[automation]
alias=Sun set notification
automation:
alias: Sun set notification
platform=state
state_entity_id=sun.sun
state_from=above_horizon
state_to=below_horizon
platform: state
state_entity_id: sun.sun
state_from: above_horizon
state_to: below_horizon
execute_service=notify.notify
service_data={"message":"YAY"}
execute_service: notify.notify
service_data: {"message":"YAY"}
```
For more automation examples, see the [getting started with automation page]({{site_root}}/components/automation.html).