mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-15 13:26:54 +00:00
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:
parent
639c78baf1
commit
e35c8492b9
@ -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. |
|
| `entity_id` | yes | Target a specific media player. Defaults to all. |
|
||||||
| `source` | no | Name of the source to switch to. Platform dependent. |
|
| `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 |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user