diff options
author | lonkaars <loek@pipeframe.xyz> | 2021-08-04 13:18:14 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2021-08-04 13:18:14 +0200 |
commit | 482e06a93f04e1544d06d0889dee49f51f9673c2 (patch) | |
tree | f52f48b91bafc8e3fd28dd276d3be9659cb70d91 /index.ts | |
parent | 7c93e78865698cc80dd96ccf0e7639cffc85d641 (diff) |
plugin still doesn't load :(
Diffstat (limited to 'index.ts')
-rw-r--r-- | index.ts | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2,6 +2,6 @@ import { API } from 'homebridge'; import BekenBridge from './plugin'; -export default function Plugin(api: API) { - api.registerPlatform('BekenBridge', BekenBridge); +module.exports = (api: API) => { + api.registerAccessory('BekenBridge', BekenBridge); } |