{
  "version": 1,
  "minor_version": 1,
  "key": "lovelace.dashboard_music",
  "data": {
    "config": {
      "views": [
        {
          "type": "sections",
          "sections": [
            {
              "type": "grid",
              "cards": [
                {
                  "type": "heading",
                  "heading": "Amazon Devices",
                  "heading_style": "title"
                },
                {
                  "type": "vertical-stack",
                  "cards": [
                    {
                      "type": "entities",
                      "title": "Alexa Music Router",
                      "show_header_toggle": false,
                      "entities": [
                        {
                          "entity": "input_select.alexa_playlist",
                          "name": "Select Playlist"
                        },
                        {
                          "entity": "input_select.alexa_target_device",
                          "name": "Target Speaker"
                        },
                        {
                          "entity": "input_number.alexa_master_volume",
                          "name": "Speaker Volume"
                        }
                      ]
                    },
                    {
                      "type": "grid",
                      "columns": 2,
                      "square": false,
                      "cards": [
                        {
                          "type": "button",
                          "name": "Play Music",
                          "icon": "mdi:play",
                          "tap_action": {
                            "action": "call-service",
                            "service": "script.dynamic_alexa_spotify_player"
                          }
                        },
                        {
                          "type": "button",
                          "name": "Stop Music",
                          "icon": "mdi:stop",
                          "tap_action": {
                            "action": "call-service",
                            "service": "script.stop_alexa_music"
                          }
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "type": "grid",
              "cards": [
                {
                  "type": "heading",
                  "heading": "Office Speaker",
                  "heading_style": "title"
                },
                {
                  "type": "custom:mass-player-card",
                  "entities": [
                    "media_player.office_speaker_2",
                    "media_player.francos_macbook_pro"
                  ],
                  "panel": true,
                  "sync_player_across_dashboard": true,
                  "media_browser": {
                    "recommendations": {}
                  }
                }
              ]
            },
            {
              "type": "grid",
              "cards": [
                {
                  "type": "custom:my-music-library-card",
                  "entity": "media_player.office_speaker_2",
                  "grid_options": {
                    "columns": 12,
                    "rows": "auto"
                  }
                }
              ],
              "column_span": 1
            },
            {
              "type": "grid",
              "cards": [
                {
                  "type": "iframe",
                  "url": "/d5369777_music_assistant",
                  "aspect_ratio": "75%",
                  "grid_options": {
                    "columns": "full",
                    "rows": 8
                  }
                }
              ],
              "column_span": 2
            }
          ]
        }
      ]
    }
  }
}