mirror of
https://github.com/mtan93/homebridge.git
synced 2026-04-02 14:23:18 +01:00
@@ -34,7 +34,7 @@ SonosPlatform.prototype = {
|
|||||||
that.log("Found device at " + device.host);
|
that.log("Found device at " + device.host);
|
||||||
|
|
||||||
device.deviceDescription(function (err, description) {
|
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"];
|
var roomName = description["roomName"];
|
||||||
|
|
||||||
if (!roomNamesFound[roomName]) {
|
if (!roomNamesFound[roomName]) {
|
||||||
|
|||||||
Reference in New Issue
Block a user