Added spotify shuffle to Media Player page (#2594)

entity_id is not optional as it seems like it doesn't work if not included. Throws NotImplementedError() otherwise.
This commit is contained in:
Daniel Stone 2017-05-07 21:55:24 +01:00 committed by Fredrik Lindqvist
parent 639c78baf1
commit e35c8492b9

View File

@ -64,3 +64,11 @@ Available services: `turn_on`, `turn_off`, `toggle`, `volume_up`, `volume_down`,
| ---------------------- | -------- | ---------------------------------------------------- |
| `entity_id` | yes | Target a specific media player. Defaults to all. |
| `source` | no | Name of the source to switch to. Platform dependent. |
#### {% linkable_title Service `media_player/shuffle_set` %}
Currently only supports Spotify.
| Service data attribute | Optional | Description |
| ---------------------- | -------- | ---------------------------------------------------- |
| `entity_id` | no | Target a specific media player. For example `media_player.spotify`|
| `source` | no | `true`/`false` for enabling/disabling shuffle |