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

Variables

string ATTR_MEDIA_IMAGE_URL = "media_image_url"
 
tuple COMMANDS = ("up", "down", "right", "left", "enter", "back", "option", "ps", "ps_hold")
 
int CONFIG_ENTRY_VERSION = 3
 
dictionary COUNTRYCODE_NAMES
 
string DEFAULT_ALIAS = "Home-Assistant"
 
string DEFAULT_NAME = "PlayStation 4"
 
string DEFAULT_REGION = "United States"
 
string DOMAIN = "ps4"
 
string GAMES_FILE = ".ps4-games.{}.json"
 
string PS4_DATA = "ps4_data"
 
list REGIONS = ["R1", "R2", "R3", "R4", "R5"]
 

Detailed Description

Constants for PlayStation 4.

Variable Documentation

◆ ATTR_MEDIA_IMAGE_URL

string homeassistant.components.ps4.const.ATTR_MEDIA_IMAGE_URL = "media_image_url"

Definition at line 3 of file const.py.

◆ COMMANDS

tuple homeassistant.components.ps4.const.COMMANDS = ("up", "down", "right", "left", "enter", "back", "option", "ps", "ps_hold")

Definition at line 12 of file const.py.

◆ CONFIG_ENTRY_VERSION

int homeassistant.components.ps4.const.CONFIG_ENTRY_VERSION = 3

Definition at line 4 of file const.py.

◆ COUNTRYCODE_NAMES

dictionary homeassistant.components.ps4.const.COUNTRYCODE_NAMES

Definition at line 17 of file const.py.

◆ DEFAULT_ALIAS

string homeassistant.components.ps4.const.DEFAULT_ALIAS = "Home-Assistant"

Definition at line 7 of file const.py.

◆ DEFAULT_NAME

string homeassistant.components.ps4.const.DEFAULT_NAME = "PlayStation 4"

Definition at line 5 of file const.py.

◆ DEFAULT_REGION

string homeassistant.components.ps4.const.DEFAULT_REGION = "United States"

Definition at line 6 of file const.py.

◆ DOMAIN

string homeassistant.components.ps4.const.DOMAIN = "ps4"

Definition at line 8 of file const.py.

◆ GAMES_FILE

string homeassistant.components.ps4.const.GAMES_FILE = ".ps4-games.{}.json"

Definition at line 9 of file const.py.

◆ PS4_DATA

string homeassistant.components.ps4.const.PS4_DATA = "ps4_data"

Definition at line 10 of file const.py.

◆ REGIONS

list homeassistant.components.ps4.const.REGIONS = ["R1", "R2", "R3", "R4", "R5"]

Definition at line 15 of file const.py.