Files
homebridge/platforms/PhilipsHue.js
Stephen Yeargin 8e80d7f0e0 Report initial state, refactor code a bit
- The initial state of the device is now reported on connection
- Properly detects what should happen with Hue/Hue Lux bulbs (removes the extra chrachteristics)
- Scales values a bit more transparently so the color gets a bit closer
- Moved `execute` method inside the accessory model for clearer designation
- Cleaned up that ridiculous `if/else` block into a switch
2015-06-27 21:51:02 -05:00

10 KiB