Fix json overwriting if you have >1 PS4 connected (#35778)

This commit is contained in:
Boris Kaplounovsky 2020-06-03 03:55:55 +03:00 committed by GitHub
parent e94228fddf
commit 2f6ffe7068
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 16 additions and 16 deletions

View file

@ -5,7 +5,7 @@ DEFAULT_NAME = "PlayStation 4"
DEFAULT_REGION = "United States"
DEFAULT_ALIAS = "Home-Assistant"
DOMAIN = "ps4"
GAMES_FILE = ".ps4-games.json"
GAMES_FILE = ".ps4-games.{}.json"
PS4_DATA = "ps4_data"
COMMANDS = ("up", "down", "right", "left", "enter", "back", "option", "ps", "ps_hold")