Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function HuePlatform (log, configJson, homebridge) {
this.log = log
this.api = homebridge
this.packageJson = packageJson
this.configJson = configJson
const my = new homebridgeLib.MyHomeKitTypes(homebridge)
const eve = new homebridgeLib.EveHomeKitTypes(homebridge)
HueBridgeModule.setHomebridge(homebridge, my, eve)
this.config = {
excludeSensorTypes: {},
groups: false,
group0: false,
heartrate: 5,
hosts: [],
lights: false,
lowBattery: 25,
nativeHomeKitLights: true,
nativeHomeKitSensors: true,
nupnp: true,
resetTimeout: 500,
resource: true,