Ps4 move send_command service to init (#25094)

* Move services from media_player

* Move services to init

* add COMMANDS to const

* change service handler to sync
This commit is contained in:
ktnrg45 authored and Pascal Vizeli committed 2019-07-12 13:14:35 +02:00
1 parent 69cc6affd5
commit bbe45cbd4b
3 files changed
+34 -40

No files matched your search

+3
View File
@@ -5,5 +5,8 @@ DEFAULT_ALIAS = 'Home-Assistant'
DOMAIN = 'ps4'
PS4_DATA = 'ps4_data'
COMMANDS = (
'up', 'down', 'right', 'left', 'enter', 'back', 'option', 'ps')
# Deprecated used for logger/backwards compatibility from 0.89
REGIONS = ['R1', 'R2', 'R3', 'R4', 'R5']