You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just switched to 2.0-beta.11 and now I'm getting this error in the log:
TypeError: Service.BatteryService is not a constructor
at configToServices (/homebridge/node_modules/homebridge-mqttthing/index.js:3545:34)
at createServices (/homebridge/node_modules/homebridge-mqttthing/index.js:3568:24)
at new makeThing (/homebridge/node_modules/homebridge-mqttthing/index.js:3600:23)
at /homebridge/node_modules/homebridge/src/server.ts:362:50
at Array.forEach (<anonymous>)
at Server.loadAccessories (/homebridge/node_modules/homebridge/src/server.ts:282:29)
at Server.start (/homebridge/node_modules/homebridge/src/server.ts:167:12)
Here is the config for the accessory that is throwing the error:
I just switched to 2.0-beta.11 and now I'm getting this error in the log:
Here is the config for the accessory that is throwing the error:
If I remove the config for
getBatteryLevel
, this error goes away and everything seems to work fine.The text was updated successfully, but these errors were encountered: