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

Custom component for Home Assistant that lets you change playback modes on your Sonos speakers

Notifications You must be signed in to change notification settings

giu1io/sonos-player-modes-HASS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Custom component for Home Assistant that lets you change playback modes on your Sonos speakers

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages