mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-27 11:16:54 +00:00
remove MA yaml example
Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
This commit is contained in:
parent
6d29aff93c
commit
ce36528114
@ -157,17 +157,3 @@ The `media_content_id` value can be obtained from the Spotify desktop app by cli
|
|||||||
## Unsupported devices
|
## Unsupported devices
|
||||||
|
|
||||||
- **Sonos**: Although Sonos is a Spotify Connect device, it is not supported by the official Spotify API. One workaround to use Sonos players with Spotify is through [Music Assistant](https://www.music-assistant.io/) using the action `music_assistant.play_media`. Music Assistant creates another media_player entity named after the original media_player, which you can use to play from Spotify.
|
- **Sonos**: Although Sonos is a Spotify Connect device, it is not supported by the official Spotify API. One workaround to use Sonos players with Spotify is through [Music Assistant](https://www.music-assistant.io/) using the action `music_assistant.play_media`. Music Assistant creates another media_player entity named after the original media_player, which you can use to play from Spotify.
|
||||||
|
|
||||||
```yaml
|
|
||||||
# Example script to play playlist using Music Assistant
|
|
||||||
script:
|
|
||||||
play_jazz_guitar:
|
|
||||||
sequence:
|
|
||||||
- action: music_assistant.play_media
|
|
||||||
target:
|
|
||||||
entity_id: media_player.living_room_player
|
|
||||||
data:
|
|
||||||
media_id: "https://open.spotify.com/playlist/5xddIVAtLrZKtt4YGLM1SQ?si=YcvRqaKNTxOi043Qn4LYkg"
|
|
||||||
media_type: playlist
|
|
||||||
```
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user