mirror of
https://github.com/mtan93/homebridge.git
synced 2026-03-08 05:31:55 +00:00
0.4.18
Add support for updated programmable service profile.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user