From e35c8492b9f04439707c2a8c50cfa64938bb46ac Mon Sep 17 00:00:00 2001 From: Daniel Stone Date: Sun, 7 May 2017 21:55:24 +0100 Subject: [PATCH] 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. --- source/_components/media_player.markdown | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/source/_components/media_player.markdown b/source/_components/media_player.markdown index 1148a5b78db..b34b849927a 100644 --- a/source/_components/media_player.markdown +++ b/source/_components/media_player.markdown @@ -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 |