Added dimmer and Sonos remote control support