An amplifier or relay controlled by a squeezelite power script could switch off and back on whenever Music Assistant reconnected. The first connection message carries the saved power state, so the device receives one instruction in the right state.

@danijel1124 makes a first contribution to Music Assistant’s server with the correction. Checks covered a Squeezebox Radio and squeezelite through server restarts, player restarts and a lost connection. A Radio or Touch can still turn itself on after a cold boot because its own software forgets the previous state.