From e523114fe42bfd74d31aae3c833d0bfe07d84740 Mon Sep 17 00:00:00 2001 From: ehendrix23 Date: Wed, 21 Nov 2018 01:51:09 -0700 Subject: [PATCH] Updated to include the services supported (#7509) Updated to add the services from media_player component that are supported within the directv platform. --- source/_components/media_player.directv.markdown | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/source/_components/media_player.directv.markdown b/source/_components/media_player.directv.markdown index d27b10e1101..e7b82e80650 100644 --- a/source/_components/media_player.directv.markdown +++ b/source/_components/media_player.directv.markdown @@ -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`.