mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 15:26:59 +00:00
Added documentation for my Steam sensor
This commit is contained in:
parent
ed647c1aac
commit
77a4532ab1
50
source/_components/sensor.steam_online.markdown
Normal file
50
source/_components/sensor.steam_online.markdown
Normal file
@ -0,0 +1,50 @@
|
||||
---
|
||||
layout: page
|
||||
title: "Steam"
|
||||
description: "Instructions on how to set up Steam sensors in Home Assistant."
|
||||
date: 2015-12-19 09:00
|
||||
sidebar: true
|
||||
comments: false
|
||||
sharing: true
|
||||
footer: true
|
||||
logo: steam.png
|
||||
ha_category: Sensor
|
||||
---
|
||||
|
||||
|
||||
The Steam component will allow you to track the online status of public [Steam](https://steamcommunity.com) accounts.
|
||||
|
||||
You need an API key which is [free](https://steamcommunity.com/dev/apikey) to use the component
|
||||
|
||||
To find an account's 64-bit SteamID you can check the URL of the profile page, if it ends with a long string on numbers then that's the 64-bit SteamID. However, if the profile has a custom URL you will have to copy the it and enter it into [STEAMID I/O](https://steamid.io/) to find the 64-bit SteamID.
|
||||
|
||||
To use Steam in your installation, add the following to your `configuration.yaml` file:
|
||||
|
||||
```yaml
|
||||
# Example configuration.yaml entry
|
||||
sensor:
|
||||
platform: steam_online
|
||||
api_key: YOUR_API_KEY
|
||||
accounts:
|
||||
- account1
|
||||
- account2
|
||||
```
|
||||
|
||||
Configuration variables:
|
||||
|
||||
- **api_key** (*Required*): Your API key from [https://steamcommunity.com/dev/apikey](https://steamcommunity.com/dev/apikey).
|
||||
- **accounts** array (*Required*): Array of accounts.
|
||||
- **account_id** (*Required*): 64-bit SteamID.
|
||||
|
||||
|
||||
If you want to add the accounts to a group for example you will have to use:
|
||||
|
||||
```yaml
|
||||
# Example configuration.yaml entry
|
||||
group:
|
||||
steam:
|
||||
name: Steam
|
||||
entities:
|
||||
- sensor.steam_account1
|
||||
- sensor.steam_account2
|
||||
```
|
BIN
source/images/supported_brands/steam.png
Normal file
BIN
source/images/supported_brands/steam.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 11 KiB |
Loading…
x
Reference in New Issue
Block a user