Skip to content

Commit

Permalink
1.0.0-beta6
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoduj committed Mar 24, 2019
1 parent 0701edc commit 92cdba3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions harmonyAsSwitches.js
Original file line number Diff line number Diff line change
Expand Up @@ -175,9 +175,9 @@ HarmonyPlatformAsSwitches.prototype = {
for (let a = 0; a < this._foundAccessories.length; a++) {
let foundHarmonyAccessory = this._foundAccessories[a];
for (let s = 0; s < foundHarmonyAccessory.services.length; s++) {
if (service.type == HarmonyConst.ACTIVITY_TYPE) {
let otherService = foundHarmonyAccessory.services[s];
let otherService = foundHarmonyAccessory.services[s];

if (otherService.type == HarmonyConst.ACTIVITY_TYPE) {
let characteristic = otherService.getCharacteristic(
Characteristic.On
);
Expand Down
2 changes: 1 addition & 1 deletion harmonyTools.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ module.exports = {
) {
//we disable previous activities that were on
if (service.activityId != -1 && service.activityId != commandToSend && on) {
platform.log.debug('Switching off ' + otherServiceControl.displayName);
platform.log.debug('Switching off ' + service.displayName);
characteristic.updateValue(false);
}
},
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "homebridge-harmony",
"version": "1.0.0-beta5",
"version": "1.0.0-beta6",
"author": "Nicolas Dujardin",
"description": "Publish your harmony activities as homekit accessories",
"main": "index.js",
Expand Down

0 comments on commit 92cdba3

Please sign in to comment.