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