Skip to content

Commit

Permalink
update index
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelkordek committed May 14, 2016
1 parent 678d4c0 commit 3ed6fa9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ module.exports = function(homebridge) {
fixInheritance(HarmanKardonAVRAccessory.AudioService, Service);

homebridge.registerAccessory("homebridge-harman-kardon-avr", "Harman Kardon AVR", HarmanKardonAVRAccessory);
}
};

function fixInheritance(subclass, superclass) {
var proto = subclass.prototype;
Expand All @@ -22,7 +22,7 @@ function fixInheritance(subclass, superclass) {
for (var mn in proto) {
subclass.prototype[mn] = proto[mn];
}
}
};

function buildRequest(cmd,para) {
var text = '';
Expand All @@ -35,7 +35,7 @@ function buildRequest(cmd,para) {
text += payload;
//console.log(text);
return text;
}
};

function HarmanKardonAVRAccessory(log, config) {
this.log = log;
Expand All @@ -44,7 +44,7 @@ function HarmanKardonAVRAccessory(log, config) {
this.port = config["port"];
this.model_name = config["model_name"] || "AVR 161";
this.manufacturer = config["manufacturer"] || "Harman Kardon";
}
};

//custom characteristics
HarmanKardonAVRAccessory.Input = function () {
Expand Down

0 comments on commit 3ed6fa9

Please sign in to comment.