Media player with input_booleans

Good morning,

I’m trying to make a media player with both Sonos and Nest Google Home as speakers. Unfortunately the media_player.join does not work together between Sonos and Google.

Also, via the UI, I have three input_booleans. Each to represent a room on where each speaker is. I’d like to join/unjoin speakers via these input_booleans.

Does anyone have an idea on how to get me started?

Kind regards,