From 812b2f8f07a7bf6232bc8ea11d9894add19d3f81 Mon Sep 17 00:00:00 2001 From: David Miller Date: Sat, 4 Apr 2020 14:19:21 +0100 Subject: [PATCH] Version 1.1.2 --- README.md | 12 ++++++++---- package.json | 2 +- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index bc1754a..ac0a763 100644 --- a/README.md +++ b/README.md @@ -54,10 +54,10 @@ The following settings apply to all device types: "integerValue": true, "onlineValue": "Online", "chargingStateValues": [ "NotCharging", "Charging", "NotChargeable" ], - "startPub": { - "topic1": "message1", - "topic2": "message2" - }, + "startPub": [ + { "topic": "topic1", "message": "message1" }, + { "topic": "topic2", "message": "message2" } + ], "confirmationPeriodms": 1000, "retryLimit": 5 } @@ -1294,6 +1294,10 @@ Window covering position state can be **DECREASING**, **INCREASING** or **STOPPE # Release notes +Version 1.1.2 ++ Added configuration schema, supporting configuration of most settings through config-ui-x (thanks, @oznu). Note that 'apply' functions are not supported. ++ Added new 'startPub' format, allowing configuration through config-ui-x. + Version 1.1.1 + Changed Boolean value handling to support bare JavaScript Booleans returned from incoming MQTT apply() functions (`"true" != true` but both are now accepted). + Boolean property values passed to outgoing MQTT apply() functions are no-longer converted to strings first (for consistency with the change above). This allows easier publishing of JSON containing correctly typed values, but **may change outgoing message format with existing configurations in some situations**. diff --git a/package.json b/package.json index 9d3d1ae..d3fa55c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "homebridge-mqttthing", - "version": "1.1.1", + "version": "1.1.2", "description": "Homebridge plugin supporting various services over MQTT", "main": "index.js", "scripts": {