Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

Latest commit

 

History

History
22 lines (16 loc) · 1.34 KB

README.md

File metadata and controls

22 lines (16 loc) · 1.34 KB

Sonos Player Modes

Update 2021-07-24

As noted by jeremywillans this no longer works in HA 2021.7+. In October of last year the core media_player service has been updated and has added some of the functionality (repeat, shuffle) that this plugin provided. This repository will be archived and it's no longer supported.

Custom Component For Home Assistant

hacs_badge

This component creates a service sonos_player_modes.set_mode that lets you change playback modes on any one of your Sonos speakers. Requires the sonos component to be already setup.

Install

  1. Copy the custom_components forlder in your HA configuration folder (or install with HACS).
  2. Add
    sonos_player_modes:
    
    to the configuration.yaml

Service Parameters

  • entity_id: entity id of the speaker (eg. media_player.bedroom)
  • mode: playback mode. Supported modes: NORMAL, REPEAT_ALL, REPEAT_ONE, SHUFFLE, SHUFFLE_NOREPEAT, SHUFFLE_REPEAT_ONE