Ungroup Sonos speaker

Hi,

According to the documentation ungrouping all Sonos speakers should be very simple, but somehow I can’t get it to work.

Can someone share their config for doing it?

Here’s an automation that will ungroup the listed Sonos media players every night:

automation:
  alias: Nightly Sonos Reset
  trigger:
    platform: time
    hours: 4
    minutes: 0
    seconds: 0
  action:
    service: media_player.sonos_unjoin
    entity_id:
      - media_player.kitchen
      - media_player.living_room

The important part for your case is the action: calling media_player.sonos_unjoin and giving it one or more media_players to remove from a group.

2 Likes

@ssimms works like a charm, thank you! :slight_smile: