mirror of
https://github.com/mtan93/homebridge.git
synced 2026-03-19 05:10:56 +00:00
Add Carwings accessory shim
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user