nlrb / com.visonic.powermax

Visonic PowerMax application for Homey
https://apps.athom.com/app/com.visonic.powermax
13 stars 8 forks source link

Cannot read property push of undefined (addSensor) #6

Closed nlrb closed 8 years ago

nlrb commented 8 years ago

Homey software version: 0.8.39

Crash report:

    TypeError: Cannot read property 'push' of undefined
    at Object.module.exports.addSensor (/node_modules/powermax-api/index.js:200:18)
    at EventEmitter.<anonymous> (/drivers/sensor.js:100:8)
    at emitTwo (events.js:87:13)
    at EventEmitter.emit (events.js:172:7)
    at /homey-app/manager/drivers.js:1:4372
    at Object.drivers.(anonymous function).ready (/homey-app/manager/drivers.js:1:2053)
    at eventListeners.clientDriverPairMessage (/homey-app/manager/drivers.js:1:4262)
    at /homey-app/helpers/client.js:1:868
    at Array.forEach (native)
    at process.<anonymous> (/homey-app/helpers/client.js:1:835)