mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 03:07:37 +00:00
Add selectors to webostv services (#50239)
This commit is contained in:
parent
1b81849271
commit
ee58f6105e
@ -1,42 +1,77 @@
|
||||
# Describes the format for available webostv services
|
||||
|
||||
button:
|
||||
name: Button
|
||||
description: "Send a button press command."
|
||||
fields:
|
||||
entity_id:
|
||||
name: Entity
|
||||
description: Name(s) of the webostv entities where to run the API method.
|
||||
example: "media_player.living_room_tv"
|
||||
required: true
|
||||
selector:
|
||||
entity:
|
||||
integration: webostv
|
||||
domain: media_player
|
||||
button:
|
||||
name: Button
|
||||
description: >-
|
||||
Name of the button to press. Known possible values are
|
||||
LEFT, RIGHT, DOWN, UP, HOME, MENU, BACK, ENTER, DASH, INFO, ASTERISK, CC, EXIT,
|
||||
MUTE, RED, GREEN, BLUE, VOLUMEUP, VOLUMEDOWN, CHANNELUP, CHANNELDOWN,
|
||||
PLAY, PAUSE, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
|
||||
required: true
|
||||
example: "LEFT"
|
||||
selector:
|
||||
text:
|
||||
|
||||
command:
|
||||
name: Command
|
||||
description: "Send a command."
|
||||
fields:
|
||||
entity_id:
|
||||
name: Entity
|
||||
description: Name(s) of the webostv entities where to run the API method.
|
||||
example: "media_player.living_room_tv"
|
||||
required: true
|
||||
selector:
|
||||
entity:
|
||||
integration: webostv
|
||||
domain: media_player
|
||||
command:
|
||||
name: Command
|
||||
description: >-
|
||||
Endpoint of the command. Known valid endpoints are listed in
|
||||
https://github.com/TheRealLink/pylgtv/blob/master/pylgtv/endpoints.py
|
||||
required: true
|
||||
example: "system.launcher/open"
|
||||
selector:
|
||||
text:
|
||||
payload:
|
||||
name: Payload
|
||||
description: >-
|
||||
An optional payload to provide to the endpoint in the format of key value pair(s).
|
||||
example: >-
|
||||
target: https://www.google.com
|
||||
advanced: true
|
||||
selector:
|
||||
object:
|
||||
|
||||
select_sound_output:
|
||||
name: Select Sound Output
|
||||
description: "Send the TV the command to change sound output."
|
||||
fields:
|
||||
entity_id:
|
||||
name: Entity
|
||||
description: Name(s) of the webostv entities to change sound output on.
|
||||
required: true
|
||||
example: "media_player.living_room_tv"
|
||||
selector:
|
||||
entity:
|
||||
integration: webostv
|
||||
domain: media_player
|
||||
sound_output:
|
||||
name: Sound Output
|
||||
description: Name of the sound output to switch to.
|
||||
required: true
|
||||
example: "external_speaker"
|
||||
selector:
|
||||
text:
|
||||
|
Loading…
x
Reference in New Issue
Block a user