mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-24 09:46:59 +00:00
Updated to include the services supported (#7509)
Updated to add the services from media_player component that are supported within the directv platform.
This commit is contained in:
parent
e94399fa08
commit
e523114fe4
@ -87,3 +87,17 @@ media_player:
|
||||
```
|
||||
|
||||
It is important to notice that the host and port variables for slave/Genie receivers are the same as the master receiver.
|
||||
|
||||
## {% linkable_title Services %}
|
||||
|
||||
### {% linkable_title Media control services %}
|
||||
|
||||
Available services: turn_on, turn_off, media_play, media_pause, media_stop, media_next_track, media_previous_track, play_media
|
||||
|
||||
#### {% linkable_title Service `media_player.play_media` %}
|
||||
|
||||
| Service data attribute | Optional | Description |
|
||||
| -----------------------| -------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| `entity_id` | yes | Target a specific media player. Defaults to all. |
|
||||
| `media_content_id` | no | The channel number to change to. |
|
||||
| `media_content_type` | no | A media type. Has to be `channel`.
|
||||
|
Loading…
x
Reference in New Issue
Block a user