Use standard Javascript code style.
Bug fixes/enhancements:
- For sensors: don't set
Status Fault
whenconfig.reachable
is missing; - For sensors: don't set
Status Active
to 0 whenconfig.on
is missing; - For the Hue bridge built-in Daylight sensor: issue a warning message and set
Status Fault
when the sensor isn't configured.
Bump dependencies:
- homebridge v0.4.36;
- homebridge-hue-utils v0.2.2.