mirror of
https://github.com/mtan93/homebridge.git
synced 2026-03-07 21:21:52 +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.UUID = characteristic.UUID;
|
||||||
characteristicPresentation.props = characteristic.props;
|
characteristicPresentation.props = characteristic.props;
|
||||||
characteristicPresentation.value = characteristic.value;
|
characteristicPresentation.value = characteristic.value;
|
||||||
|
characteristicPresentation.eventOnlyCharacteristic = characteristic.eventOnlyCharacteristic;
|
||||||
characteristics.push(characteristicPresentation);
|
characteristics.push(characteristicPresentation);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -214,6 +215,7 @@ PlatformAccessory.prototype._configFromData = function(data) {
|
|||||||
for (var cIndex in service.characteristics) {
|
for (var cIndex in service.characteristics) {
|
||||||
var characteristic = service.characteristics[cIndex];
|
var characteristic = service.characteristics[cIndex];
|
||||||
var hapCharacteristic = new Characteristic(characteristic.displayName, characteristic.UUID, characteristic.props);
|
var hapCharacteristic = new Characteristic(characteristic.displayName, characteristic.UUID, characteristic.props);
|
||||||
|
hapCharacteristic.eventOnlyCharacteristic = characteristic.eventOnlyCharacteristic;
|
||||||
hapCharacteristic.value = characteristic.value;
|
hapCharacteristic.value = characteristic.value;
|
||||||
characteristics.push(hapCharacteristic);
|
characteristics.push(hapCharacteristic);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "homebridge",
|
"name": "homebridge",
|
||||||
"description": "HomeKit support for the impatient",
|
"description": "HomeKit support for the impatient",
|
||||||
"version": "0.4.17",
|
"version": "0.4.18",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "DEBUG=* ./bin/homebridge -D -P example-plugins/ || true"
|
"dev": "DEBUG=* ./bin/homebridge -D -P example-plugins/ || true"
|
||||||
},
|
},
|
||||||
@@ -26,7 +26,7 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"chalk": "^1.1.1",
|
"chalk": "^1.1.1",
|
||||||
"commander": "2.8.1",
|
"commander": "2.8.1",
|
||||||
"hap-nodejs": "0.4.22",
|
"hap-nodejs": "0.4.23",
|
||||||
"semver": "5.0.3",
|
"semver": "5.0.3",
|
||||||
"node-persist": "^0.0.8"
|
"node-persist": "^0.0.8"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user