Add selectors to ps4 services (#49702)

Co-authored-by: Franck Nijhof <git@frenck.dev>
This commit is contained in:
tkdrob 2021-04-26 09:35:45 -04:00 committed by GitHub
parent 639dac1eaa
commit 5b1ed44613
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,9 +1,30 @@
send_command:
name: Send command
description: Emulate button press for PlayStation 4.
fields:
entity_id:
description: Name(s) of entities to send command.
name: Entity
description: Name of entity to send command.
required: true
example: "media_player.playstation_4"
selector:
entity:
integration: ps4
domain: media_player
command:
name: Command
description: Button to press.
required: true
example: "ps"
selector:
select:
options:
- "back"
- "down"
- "enter"
- "left"
- "option"
- "ps_hold"
- "ps"
- "right"
- "up"