core/homeassistant/components/ps4/const.py

15 lines
459 B
Python
Raw Normal View History

"""Constants for PlayStation 4."""
2019-07-31 19:25:30 +00:00
ATTR_MEDIA_IMAGE_URL = "media_image_url"
CONFIG_ENTRY_VERSION = 3
DEFAULT_NAME = "PlayStation 4"
DEFAULT_REGION = "United States"
2019-07-31 19:25:30 +00:00
DEFAULT_ALIAS = "Home-Assistant"
DOMAIN = "ps4"
GAMES_FILE = ".ps4-games.json"
PS4_DATA = "ps4_data"
2020-01-29 21:57:40 +00:00
COMMANDS = ("up", "down", "right", "left", "enter", "back", "option", "ps", "ps_hold")
# Deprecated used for logger/backwards compatibility from 0.89
2019-07-31 19:25:30 +00:00
REGIONS = ["R1", "R2", "R3", "R4", "R5"]