diff --git a/CHANGELOG.md b/CHANGELOG.md index 80c734f..92cd7db 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,11 @@ All notable changes to this project will be documented in this file. +## 1.6.3 + +- [FIX] Change heading level h6 to h5 #418. Thanks to @lisanet +- [FIX] handling empty other platform + ## 1.6.2 - [FIX] Add correct help message to sequencesToPublishAsAccessoriesSwitch in config UI #416. Thanks to @lisanet diff --git a/harmonyPlatform.js b/harmonyPlatform.js index e17342b..c9de898 100644 --- a/harmonyPlatform.js +++ b/harmonyPlatform.js @@ -30,7 +30,7 @@ function HarmonyPlatform(log, config, api) { this.plaformsConfigs = []; this.plaformsConfigs.push(config); - if (config['otherPlatforms']) { + if (config['otherPlatforms'] && config['otherPlatforms'].length > 0) { this.plaformsConfigs.push.apply(this.plaformsConfigs, config['otherPlatforms']); } diff --git a/package.json b/package.json index bf59c17..ca69a25 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "homebridge-harmony", - "version": "1.6.2", + "version": "1.6.3", "author": "Nicolas Dujardin", "description": "Publish your harmony activities as homekit accessories", "main": "index.js",