Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.steam_online.const Namespace Reference

Variables

string CONF_ACCOUNT = "account"
 
string CONF_ACCOUNTS = "accounts"
 
string DATA_KEY_COORDINATOR = "coordinator"
 
string DEFAULT_NAME = "Steam"
 
 Final
 
 LOGGER = logging.getLogger(__package__)
 
dictionary PLACEHOLDERS
 
string STATE_AWAY = "away"
 
string STATE_BUSY = "busy"
 
string STATE_LOOKING_TO_PLAY = "looking_to_play"
 
string STATE_LOOKING_TO_TRADE = "looking_to_trade"
 
string STATE_OFFLINE = "offline"
 
string STATE_ONLINE = "online"
 
string STATE_SNOOZE = "snooze"
 
string STEAM_API_URL = "https://steamcdn-a.akamaihd.net/steam/apps/"
 
string STEAM_HEADER_IMAGE_FILE = "header.jpg"
 
string STEAM_ICON_URL = "https://steamcdn-a.akamaihd.net/steamcommunity/public/images/apps/"
 
string STEAM_MAIN_IMAGE_FILE = "capsule_616x353.jpg"
 
dictionary STEAM_STATUSES
 

Detailed Description

Steam constants.

Variable Documentation

◆ CONF_ACCOUNT

string homeassistant.components.steam_online.const.CONF_ACCOUNT = "account"

Definition at line 6 of file const.py.

◆ CONF_ACCOUNTS

string homeassistant.components.steam_online.const.CONF_ACCOUNTS = "accounts"

Definition at line 7 of file const.py.

◆ DATA_KEY_COORDINATOR

string homeassistant.components.steam_online.const.DATA_KEY_COORDINATOR = "coordinator"

Definition at line 9 of file const.py.

◆ DEFAULT_NAME

string homeassistant.components.steam_online.const.DEFAULT_NAME = "Steam"

Definition at line 10 of file const.py.

◆ Final

homeassistant.components.steam_online.const.Final

Definition at line 11 of file const.py.

◆ LOGGER

homeassistant.components.steam_online.const.LOGGER = logging.getLogger(__package__)

Definition at line 13 of file const.py.

◆ PLACEHOLDERS

dictionary homeassistant.components.steam_online.const.PLACEHOLDERS
Initial value:
1 = {
2  "api_key_url": "https://steamcommunity.com/dev/apikey",
3  "account_id_url": "https://steamid.io",
4 }

Definition at line 15 of file const.py.

◆ STATE_AWAY

string homeassistant.components.steam_online.const.STATE_AWAY = "away"

Definition at line 23 of file const.py.

◆ STATE_BUSY

string homeassistant.components.steam_online.const.STATE_BUSY = "busy"

Definition at line 22 of file const.py.

◆ STATE_LOOKING_TO_PLAY

string homeassistant.components.steam_online.const.STATE_LOOKING_TO_PLAY = "looking_to_play"

Definition at line 26 of file const.py.

◆ STATE_LOOKING_TO_TRADE

string homeassistant.components.steam_online.const.STATE_LOOKING_TO_TRADE = "looking_to_trade"

Definition at line 25 of file const.py.

◆ STATE_OFFLINE

string homeassistant.components.steam_online.const.STATE_OFFLINE = "offline"

Definition at line 20 of file const.py.

◆ STATE_ONLINE

string homeassistant.components.steam_online.const.STATE_ONLINE = "online"

Definition at line 21 of file const.py.

◆ STATE_SNOOZE

string homeassistant.components.steam_online.const.STATE_SNOOZE = "snooze"

Definition at line 24 of file const.py.

◆ STEAM_API_URL

string homeassistant.components.steam_online.const.STEAM_API_URL = "https://steamcdn-a.akamaihd.net/steam/apps/"

Definition at line 36 of file const.py.

◆ STEAM_HEADER_IMAGE_FILE

string homeassistant.components.steam_online.const.STEAM_HEADER_IMAGE_FILE = "header.jpg"

Definition at line 37 of file const.py.

◆ STEAM_ICON_URL

string homeassistant.components.steam_online.const.STEAM_ICON_URL = "https://steamcdn-a.akamaihd.net/steamcommunity/public/images/apps/"

Definition at line 39 of file const.py.

◆ STEAM_MAIN_IMAGE_FILE

string homeassistant.components.steam_online.const.STEAM_MAIN_IMAGE_FILE = "capsule_616x353.jpg"

Definition at line 38 of file const.py.

◆ STEAM_STATUSES

dictionary homeassistant.components.steam_online.const.STEAM_STATUSES
Initial value:
1 = {
2  0: STATE_OFFLINE,
3  1: STATE_ONLINE,
4  2: STATE_BUSY,
5  3: STATE_AWAY,
6  4: STATE_SNOOZE,
7  5: STATE_LOOKING_TO_TRADE,
8  6: STATE_LOOKING_TO_PLAY,
9 }

Definition at line 27 of file const.py.