Customize media player for sonos speakers!
Thanks to https://github.com/DBuit and https://github.com/exetico for creating this card.
- 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.
type: custom:custom-sonos-card
name: Sonos #Required
groupsTitle: '' #Optional
groupingTitle: '' #Optional
favoritesTitle: '' #Optional
headerImage: '' #Optional
entities: #Required
- media_player.sonos_kitchen
- media_player.sonos_hallway
- media_player.sonos_bedroom
- media_player.sonos_livingroom