home-assistant.io/source/_components/steam_online.markdown
Franck Nijhof 1833c32a2c Cleans up front matter (#9835)
* Sets front matter defaults

* Removes default front matter from section templates/pages

* Removes default front matter from addon pages

* Removes default front matter from integration pages

* Removes default front matter from posts

* Removes default front matter from docs pages

* Removes default front matter from other pages

* Fixes blog category pages
2019-07-11 14:35:08 -07:00

1.6 KiB

title, description, logo, ha_category, ha_iot_class, ha_release, redirect_from
title description logo ha_category ha_iot_class ha_release redirect_from
Steam Instructions on how to set up Steam sensors in Home Assistant. steam.png
Social
Cloud Polling 0.14
/components/sensor.steam_online/

The steam sensor platform will allow you to track the online status of public Steam accounts.

Setup

You need a free API key to use the platform.

To find an account's 64-bit SteamID on profiles without a custom URL you can check the URL of the profile page, the long string of numbers at the end is the 64-bit SteamID. If the profile has a custom URL you will have to copy the URL into STEAMID I/O to find the 64-bit SteamID.

Configuration

To use Steam in your installation, add the following to your configuration.yaml file:

# Example configuration.yaml entry
sensor:
  - platform: steam_online
    api_key: YOUR_API_KEY
    accounts:
      - account1
      - account2

{% configuration %} api_key: required: true description: Your API key from https://steamcommunity.com/dev/apikey. type: string accounts: required: true description: List of accounts. type: map keys: account_id: required: true description: The 64-bit SteamID. type: string {% endconfiguration %}

Examples

If you want to add the accounts to a group for example you will have to use:

# Example configuration.yaml entry
group:
  steam:
    name: Steam
    entities:
      - sensor.steam_account1
      - sensor.steam_account2