Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Light object missing set method. #10

Open
chris-schofield1 opened this issue Feb 12, 2018 · 0 comments
Open

Light object missing set method. #10

chris-schofield1 opened this issue Feb 12, 2018 · 0 comments

Comments

@chris-schofield1
Copy link

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant