homebridge-aqara
homebridge-aqara copied to clipboard
ReferenceError: service is not defined
/usr/lib/node_modules/homebridge-aqara/lib/AqaraAccessoryFactory.js:52 var characteristic = service.getCharacteristic(Characteristic.Name); ^
ReferenceError: service is not defined
at AqaraAccessoryFactory.configureAccessory (/usr/lib/node_modules/homebridge-aqara/lib/AqaraAccessoryFactory.js:52:27)
at AqaraPlatform.configureAccessory (/usr/lib/node_modules/homebridge-aqara/lib/AqaraPlatform.js:187:16)
at Server._configCachedPlatformAccessories (/usr/lib/node_modules/homebridge/lib/server.js:342:24)
at Server.run (/usr/lib/node_modules/homebridge/lib/server.js:83:8)
at module.exports (/usr/lib/node_modules/homebridge/lib/cli.js:40:10)
at Object.
var Accessory, PlatformAccessory, Service, Characteristic, UUIDGen, Factory; service.getCharacteristic(Characteristic.Name);
{ "platforms": [ { "platform": "AqaraPlatform", ... "sensor_names": { "74ef":"Kitchen Window" } ... }] }
It doesn't work
I confirm I get the same issue when trying to add the sensor_names part.
Especially frustrating with the sensor disappearing bug..