Skip to content

mfabiani53/custom-sonos-card

 
 

Repository files navigation

Sonos custom card

Customize media player for sonos speakers!

Thanks to https://github.com/DBuit and https://github.com/exetico for creating this card.

Features:

  • Group/Ungroup speakers
  • Control multiple speaker
  • Play favorites from list

Screenshot of card

Installation

HACS

Add the URI to HACS's Settings > CUSTOM REPOSITORIES

Manual

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

YAML

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

About

Home Assistant custom lovelace sonos card

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%