From dfb2c94112b957f7e600b554f143c8583e63083e Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 2 Oct 2016 17:14:17 +0200 Subject: [PATCH] Minimizing of the configuration sample (#1045) --- source/_components/sensor.lastfm.markdown | 10 +++++----- source/_components/sensor.steam_online.markdown | 12 ++++++------ source/_components/sensor.xbox_live.markdown | 16 +++++++--------- 3 files changed, 18 insertions(+), 20 deletions(-) diff --git a/source/_components/sensor.lastfm.markdown b/source/_components/sensor.lastfm.markdown index 9fdfaabbeac..218e2f2a8e1 100644 --- a/source/_components/sensor.lastfm.markdown +++ b/source/_components/sensor.lastfm.markdown @@ -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: diff --git a/source/_components/sensor.steam_online.markdown b/source/_components/sensor.steam_online.markdown index 646b3fb8162..6cf46388770 100644 --- a/source/_components/sensor.steam_online.markdown +++ b/source/_components/sensor.steam_online.markdown @@ -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 -``` \ No newline at end of file +``` diff --git a/source/_components/sensor.xbox_live.markdown b/source/_components/sensor.xbox_live.markdown index 8884e4e41be..ca0aa227891 100644 --- a/source/_components/sensor.xbox_live.markdown +++ b/source/_components/sensor.xbox_live.markdown @@ -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: