mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 07:17:14 +00:00
updated docs for webostv (#13596)
This commit is contained in:
parent
20f1201c1c
commit
01048c1c85
@ -191,7 +191,8 @@ Available services: `button`, `command`
|
|||||||
| Service data attribute | Optional | Description |
|
| Service data attribute | Optional | Description |
|
||||||
| ---------------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
| ---------------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
||||||
| `entity_id` | no | Target a specific webostv media player. |
|
| `entity_id` | no | Target a specific webostv media player. |
|
||||||
| `command` | no | Endpoint for the command, e.g., `media.controls/rewind`. The full list of known endpoints is available at <https://github.com/bendavid/aiopylgtv/blob/master/aiopylgtv/endpoints.py> |
|
| `command` | no | Endpoint for the command, e.g., `system.launcher/open`. The full list of known endpoints is available at <https://github.com/bendavid/aiopylgtv/blob/master/aiopylgtv/endpoints.py> |
|
||||||
|
| `payload` | yes | An optional payload to provide to the endpoint in the format of key value pair(s). |
|
||||||
|
|
||||||
### Example
|
### Example
|
||||||
|
|
||||||
@ -204,12 +205,14 @@ script:
|
|||||||
entity_id: media_player.lg_webos_smart_tv
|
entity_id: media_player.lg_webos_smart_tv
|
||||||
button: "HOME"
|
button: "HOME"
|
||||||
|
|
||||||
rewind_command:
|
open_google_command:
|
||||||
sequence:
|
sequence:
|
||||||
- service: webostv.command
|
- service: webostv.command
|
||||||
data:
|
data:
|
||||||
entity_id: media_player.lg_webos_smart_tv
|
entity_id: media_player.lg_webos_smart_tv
|
||||||
command: "media.controls/rewind"
|
command: "system.launcher/open"
|
||||||
|
payload:
|
||||||
|
target: https://www.google.com
|
||||||
```
|
```
|
||||||
|
|
||||||
## Consecutive volume steps delay
|
## Consecutive volume steps delay
|
||||||
|
Loading…
x
Reference in New Issue
Block a user