Whenever I attempt to control any of my lights I receive the following stack:
/usr/local/lib/node_modules/homebridge-tplink-lightbulb/index.js:168
light.set(true, 0, { brightness: value }).then((status) => {
^
TypeError: light.set is not a function
at Characteristic.brightnessCharacteristic.on.on (/usr/local/lib/node_modules/homebridge-tplink-lightbulb/index.js:168:15)
at emitMany (events.js:146:13)
at Characteristic.emit (events.js:223:7)
at Characteristic.setValue (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Characteristic.js:319:10)
at Bridge. (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Accessory.js:867:22)
at Array.forEach ()
at Bridge.Accessory._handleSetCharacteristics (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Accessory.js:807:8)
at emitMany (events.js:146:13)
at HAPServer.emit (events.js:223:7)
at HAPServer._handleCharacteristics (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/HAPServer.js:972:10)
Whenever I attempt to control any of my lights I receive the following stack:
/usr/local/lib/node_modules/homebridge-tplink-lightbulb/index.js:168 light.set(true, 0, { brightness: value }).then((status) => { ^
TypeError: light.set is not a function at Characteristic.brightnessCharacteristic.on.on (/usr/local/lib/node_modules/homebridge-tplink-lightbulb/index.js:168:15) at emitMany (events.js:146:13) at Characteristic.emit (events.js:223:7) at Characteristic.setValue (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Characteristic.js:319:10) at Bridge. (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Accessory.js:867:22)
at Array.forEach ()
at Bridge.Accessory._handleSetCharacteristics (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Accessory.js:807:8)
at emitMany (events.js:146:13)
at HAPServer.emit (events.js:223:7)
at HAPServer._handleCharacteristics (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/HAPServer.js:972:10)