homebridge-magichome-platform
homebridge-magichome-platform copied to clipboard
Homebridge crashes after interaction
Hello,
Whenever I try to change colour or turn off/on my led strips, Homebridge crashes with this message:
TypeError: Cannot read property '0' of undefined
at LightBulb.setToCurrentColor (/homebridge/node_modules/homebridge-magichome-platform/src/accessories/lightBulb.js:188:38)
at LightBulb.setBrightness (/homebridge/node_modules/homebridge-magichome-platform/src/accessories/lightBulb.js:160:10)
at Characteristic.Brightness.emit (events.js:310:20)
at Characteristic.Brightness.Characteristic.setValue (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Characteristic.js:321:10)
at Bridge.
What can the problem be?