[Sonos] SUB isn't playable

This commit is contained in:
Nick Farina
2015-08-05 08:55:19 -07:00
parent 9653a3173d
commit 43c0346436

View File

@@ -17,7 +17,7 @@ SonosPlatform.prototype = {
that.log("Found device at " + device.host);
device.deviceDescription(function (err, description) {
if (description["zoneType"] != '11') {
if (description["zoneType"] != '11' && description["zoneType"] != '8') { // 8 is the Sonos SUB
that.log("Found playable device - " + description["roomName"]);
// device is an instance of sonos.Sonos
var accessory = new SonosAccessory(that.log, that.config, device, description);