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
This commit is contained in:
Adriaan Peeters 2019-07-06 21:01:21 +02:00 committed by Franck Nijhof
parent 3fe65c53b7
commit f0e0ef8e38

View File

@ -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.