Need ideas to sync zigbee pool fountain with speaker system aux

I’m looking to find a way to sync 6 pool fountains that have a simple on & off function on my homeassistant via zigbee to be somewhat reactive to music from a aux input, does anyone know what route would be best to go with this?

something like this?

No, prehaps I should’ve clarified, I’m basically trying to make on/off switches somewhat reactive to music coming out of my sonos amp aux output.

you need a few stuff
Capture the Audio (from your Aux input)

You need 6 individual relays to switch your fountains on and off so many options here

and you need an automation something like this

trigger:
  - platform: numeric_state
    entity_id: sensor.audio_rms
    above: 0.1
 action:
  - service: switch.turn_on
    target:
      entity_id: switch.fountain_1

options