Lovelace: Mini Media Player

Hi everyone

Thanks for the player Karl!

Wondering if anyone can point me in the direction of putting a custom Service when hitting the power button?

Use case is by now I think starting to be frequent: Sonos system, so created service to toggle some smart plugs to turn off and on.

Is the Universal media player the only way to go?

Thanks in advance