From f0e0ef8e3856e35eed62783747278b3d305c5645 Mon Sep 17 00:00:00 2001 From: Adriaan Peeters Date: Sat, 6 Jul 2019 21:01:21 +0200 Subject: [PATCH] Add documentation for new service sonos.play_queue (#9790) * Add documentation for new service sonos.play_queue * Add queue_position parameter for sonos.play_queue service * Improve sonos.play_queue documentation --- source/_components/sonos.markdown | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/source/_components/sonos.markdown b/source/_components/sonos.markdown index 5533c189a44..a0fce003adb 100644 --- a/source/_components/sonos.markdown +++ b/source/_components/sonos.markdown @@ -114,6 +114,17 @@ Night Sound and Speech Enhancement modes are only supported when playing from th | `night_sound` | yes | Boolean to control Night Sound mode. | `speech_enhance` | yes | Boolean to control Speech Enhancement mode. +### Service `sonos.play_queue` + +Starts playing the Sonos queue. + +Force start playing the queue, allows switching from another stream (such as radio) to playing the queue. + +| Service data attribute | Optional | Description | +| ---------------------- | -------- | ----------- | +| `entity_id` | no | String or list of `entity_id`s that will start playing. It must be the coordinator if targeting a group. +| `queue_position` | yes | Position of the song in the queue to start playing from, starts at 0. + ## Advanced use For advanced uses, there are some manual configuration options available.