Customize media player for sonos speakers!
- Group/Ungroup speakers
- Control multiple speaker
- Play favorites from list
Add the URI to HACS's Settings
> CUSTOM REPOSITORIES
Download the resources, as you would do with all other modules.
Add the custom card as a module, like this:
resources:
- url: /local/custom-sonos-card.js?v=1.0
type: module
Here's one example, of how to add the Sonos Lovelace Card to Home Assistant.
views:
- title: "Sonos"
icon: mdi:speaker
id: muziek
panel: true
cards:
- type: "custom:custom-sonos-card"
name: "Sonos"
entities:
- media_player.sonos_kitchen
- media_player.sonos_hallway
- media_player.sonos_bedroom
- media_player.sonos_livingroom