Minimizing of the configuration sample (#1045)

This commit is contained in:
Fabian Affolter 2016-10-02 17:14:17 +02:00 committed by GitHub
parent 53c42e5fd9
commit dfb2c94112
3 changed files with 18 additions and 20 deletions

View File

@ -23,11 +23,11 @@ To use Last.fm with your installation, add the following to your `configuration.
```yaml
# Example configuration.yaml entry
sensor:
platform: lastfm
api_key: YOUR_API_KEY
users:
- user1
- user2
- platform: lastfm
api_key: YOUR_API_KEY
users:
- user1
- user2
```
Configuration variables:

View File

@ -25,11 +25,11 @@ To use Steam in your installation, add the following to your `configuration.yaml
```yaml
# Example configuration.yaml entry
sensor:
platform: steam_online
api_key: YOUR_API_KEY
accounts:
- account1
- account2
- platform: steam_online
api_key: YOUR_API_KEY
accounts:
- account1
- account2
```
Configuration variables:
@ -49,4 +49,4 @@ group:
entities:
- sensor.steam_account1
- sensor.steam_account2
```
```

View File

@ -15,22 +15,20 @@ ha_release: 0.28
The Xbox Live component is able to track [Xbox](http://xbox.com/) profiles.
To use this sensor you need a free API key from [XboxAPI.com](http://xboxapi.com).
Please also make sure to connect your Xbox account on that site.
To use this sensor you need a free API key from [XboxAPI.com](http://xboxapi.com). Please also make sure to connect your Xbox account on that site.
The configuration requires you to specify XUIDs which are the unique identifiers for profiles.
These can be determined on [XboxAPI.com](http://xboxapi.com) by either looking at your own profile page or using their interactive documentation to search for gamertags.
The configuration requires you to specify XUIDs which are the unique identifiers for profiles. These can be determined on [XboxAPI.com](http://xboxapi.com) by either looking at your own profile page or using their interactive documentation to search for gamertags.
To use the Xbox Live sensor in your installation, add the following to your `configuration.yaml` file:
```yaml
# Example configuration.yaml entry
sensor:
platform: xbox_live
api_key: YOUR_API_KEY
xuid:
- account1
- account2
- platform: xbox_live
api_key: YOUR_API_KEY
xuid:
- account1
- account2
```
Configuration variables: