calvarium / homebridge-lifx-plugin

A plugin that adds lifx-lights in the network automatically to the homebridge, also single lights can be added manually
Apache License 2.0
31 stars 11 forks source link

Missing productFeatures caused a crash in my installation in bulb.js at hasKelvin and later on in hasColor #33

Open oelmaier opened 1 year ago

oelmaier commented 1 year ago

Obviously productFeatures are not always included. The ? at the 2 hasXXX functions solved my problem. The ? at getXXX are only for good measure.