diff --git a/lib/platformAccessory.js b/lib/platformAccessory.js index 382ef0d..34a6ac3 100644 --- a/lib/platformAccessory.js +++ b/lib/platformAccessory.js @@ -185,6 +185,7 @@ PlatformAccessory.prototype._dictionaryPresentation = function() { characteristicPresentation.UUID = characteristic.UUID; characteristicPresentation.props = characteristic.props; characteristicPresentation.value = characteristic.value; + characteristicPresentation.eventOnlyCharacteristic = characteristic.eventOnlyCharacteristic; characteristics.push(characteristicPresentation); } @@ -214,6 +215,7 @@ PlatformAccessory.prototype._configFromData = function(data) { for (var cIndex in service.characteristics) { var characteristic = service.characteristics[cIndex]; var hapCharacteristic = new Characteristic(characteristic.displayName, characteristic.UUID, characteristic.props); + hapCharacteristic.eventOnlyCharacteristic = characteristic.eventOnlyCharacteristic; hapCharacteristic.value = characteristic.value; characteristics.push(hapCharacteristic); } diff --git a/package.json b/package.json index 9a43b1c..2d1b60f 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "homebridge", "description": "HomeKit support for the impatient", - "version": "0.4.17", + "version": "0.4.18", "scripts": { "dev": "DEBUG=* ./bin/homebridge -D -P example-plugins/ || true" }, @@ -26,7 +26,7 @@ "dependencies": { "chalk": "^1.1.1", "commander": "2.8.1", - "hap-nodejs": "0.4.22", + "hap-nodejs": "0.4.23", "semver": "5.0.3", "node-persist": "^0.0.8" }