Add Carwings accessory shim

This commit is contained in:
Nick Farina
2014-11-30 22:44:44 -08:00
parent 1ff9f9e235
commit b4fe5421b8
6 changed files with 191 additions and 17 deletions

View File

@@ -3,6 +3,7 @@ var sonos = require('sonos');
function SonosAccessory(log, config) {
this.log = log;
this.siriName = config["siri_name"];
this.playVolume = config["play_volume"];
this.device = null;
this.search();
@@ -70,7 +71,7 @@ SonosAccessory.prototype = {
onUpdate: null,
perms: ["pr"],
format: "string",
initialValue: "Sonos",
initialValue: this.siriName,
supportEvents: false,
supportBonjour: false,
manfDescription: "Name of the accessory",