From 7ff31d0c5c7ca43856b214b9ca8c0f42f6032f3b Mon Sep 17 00:00:00 2001 From: Nicolas Dujardin Date: Mon, 1 May 2023 11:34:24 +0200 Subject: [PATCH] 1.6.3 --- CHANGELOG.md | 5 +++++ harmonyPlatform.js | 2 +- package.json | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) 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",