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.
- Copy the
custom_components
forlder in your HA configuration folder (or install with HACS). - Add
to the
sonos_player_modes:
configuration.yaml
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