mirror of
https://github.com/mtan93/homebridge.git
synced 2026-03-08 05:31:55 +00:00
read in the onRead
This commit is contained in:
1
app.js
1
app.js
@@ -123,6 +123,7 @@ function createHAPServer(name, services) {
|
||||
//loop through characteristics
|
||||
for (var k = 0; k < services[j].characteristics.length; k++) {
|
||||
var options = {
|
||||
onRead: services[j].characteristics[k].onRead,
|
||||
type: services[j].characteristics[k].cType,
|
||||
perms: services[j].characteristics[k].perms,
|
||||
format: services[j].characteristics[k].format,
|
||||
|
||||
Reference in New Issue
Block a user