Updated to use ref to check for Squeezebox2 class since we don't want to let objects such as SqueezePlay affect the switch state.  This is because these are also based on the Squeezebox2 base class
Merge branch 'master' of github.com:motske/PowerSwitch3