homebridge-bigAssFans icon indicating copy to clipboard operation
homebridge-bigAssFans copied to clipboard

Error after configuration and installation of plugin in Homebridge

Open jF-X opened this issue 4 years ago • 0 comments

Trying to configure plugin for a single fan, getting an error when restarting homebridge:

TypeError: existingAccessory.getServices is not a function
    at new BigAssFanAccessory (/usr/local/lib/node_modules/homebridge-bigAssFans/index.js:254:52)
    at /usr/local/lib/node_modules/homebridge/src/server.ts:357:50
    at Array.forEach (<anonymous>)
    at Server._loadAccessories (/usr/local/lib/node_modules/homebridge/src/server.ts:330:29)
    at Server.start (/usr/local/lib/node_modules/homebridge/src/server.ts:156:12)
    at cli (/usr/local/lib/node_modules/homebridge/src/cli.ts:80:10)
    at Object.<anonymous> (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22)
    at Module._compile (internal/modules/cjs/loader.js:1015:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1035:10)
    at Module.load (internal/modules/cjs/loader.js:879:32)

jF-X avatar Oct 13 '20 23:10 jF-X