Files
home-assistant-core/homeassistant/components/webostv/services.yaml
T
Josh Bendavid c1936f6fe4 Add generic command/button functionality to webostv (#30379)
* add generic command/button functionality to webostv

* update codeowners
2020-01-02 22:32:56 +01:00

27 lines
972 B
YAML

# Describes the format for available webostv services
button:
description: 'Send a button press command.'
fields:
entity_id:
description: Name(s) of the webostv entities where to run the API method.
example: 'media_player.living_room_tv'
button:
description: Name of the button to press. Known possible values are
LEFT, RIGHT, DOWN, UP, HOME, BACK, ENTER, DASH, INFO, ASTERISK, CC, EXIT,
MUTE, RED, GREEN, BLUE, VOLUMEUP, VOLUMEDOWN, CHANNELUP, CHANNELDOWN,
0, 1, 2, 3, 4, 5, 6, 7, 8, 9
example: 'LEFT'
command:
description: 'Send a command.'
fields:
entity_id:
description: Name(s) of the webostv entities where to run the API method.
example: 'media_player.living_room_tv'
command:
description: Endpoint of the command. Known valid endpoints are listed in
https://github.com/TheRealLink/pylgtv/blob/master/pylgtv/endpoints.py
example: 'media.controls/rewind'