From e001dc8d52778923885167ed5cc6ce044923310e Mon Sep 17 00:00:00 2001 From: Nicolas Dujardin Date: Sat, 20 Apr 2019 10:25:49 +0200 Subject: [PATCH] 1.0.0-rc.1 --- harmonySubPlatform.js | 4 ++-- package.json | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/harmonySubPlatform.js b/harmonySubPlatform.js index c2f2b2d..65df189 100644 --- a/harmonySubPlatform.js +++ b/harmonySubPlatform.js @@ -155,7 +155,7 @@ HarmonySubPlatform.prototype = { let accessoriesToAdd = []; var myHarmonyAccessory; - let name = this.devMode ? 'DEV' : 'Switch'; + let name = this.devMode ? 'DEV' : '' + 'Switch'; if (!this.publishSwitchActivitiesAsIndividualAccessories) { myHarmonyAccessory = this.harmonyBase.checkAccessory(this, name); @@ -211,7 +211,7 @@ HarmonySubPlatform.prototype = { readTVAccessories: function(data) { let activities = data.data.activity; let accessoriesToAdd = []; - let name = this.devMode ? 'DEV' : 'TV'; + let name = this.devMode ? 'DEV' : '' + 'TV'; myHarmonyAccessory = this.harmonyBase.checkAccessory(this, name); diff --git a/package.json b/package.json index 35819ec..901fe76 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "homebridge-harmony", - "version": "1.0.0-beta11", + "version": "1.0.0-rc.1", "author": "Nicolas Dujardin", "description": "Publish your harmony activities as homekit accessories", "main": "index.js", @@ -25,6 +25,7 @@ ], "dependencies": { "harmony-websocket": "^1.0.9", + "npm": "^6.9.0", "request": "^2.65.0", "websocket": "^1.0.28", "websocket-as-promised": "^0.9.0"