Merge pull request #305 from mariodrengner/patch-1

Ignore Bridge
This commit is contained in:
Nick Farina
2015-10-21 06:23:19 -07:00

View File

@@ -34,7 +34,7 @@ SonosPlatform.prototype = {
that.log("Found device at " + device.host);
device.deviceDescription(function (err, description) {
if (description["zoneType"] != '11' && description["zoneType"] != '8') { // 8 is the Sonos SUB
if (description["zoneType"] != '11' && description["zoneType"] != '8' && description["zoneType"] != '4') { // 8 is the Sonos SUB, 4 is the Sonos Bridge
var roomName = description["roomName"];
if (!roomNamesFound[roomName]) {