thlucas1 / homeassistantcomponent_soundtouchplus

Home Assistant integration for Bose SoundTouch speakers
MIT License
13 stars 1 forks source link

Add Service - ToggleZoneMembers #10

Closed thlucas1 closed 8 months ago

thlucas1 commented 8 months ago

Checklist

Is your feature request related to a problem? Please describe.

no - new feature.

Describe the solution you'd like

Create a new service named ToggleZoneMembers that will add (if not exist) or remove (if exist) members to / from a zone group. If the zone member is in the group then remove it; if the zone member is not in the group then add it.

Describe alternatives you've considered

The alternative is to code logic that will check for the existence (or not) of the member in the zone, and then add / remove it accordingly.

Additional context

I attach zwave buttons to the back of my SoundTouch speakers, and call a ToggleZoneSlave service to join / unjoin a speaker by tapping the zwave button on the speaker.

Credit goes to @jasebob for the suggestion.

thlucas1 commented 8 months ago

Added with v1.0.25. Waiting for verification from @jasebob before closing this request.

thlucas1 commented 8 months ago

@jasebob verified zone toggle works, closing the issue. https://community.home-assistant.io/t/bose-soundtouch-create-zone/96372/51

thlucas1 commented 8 months ago

Issue closed.