diff options
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); } |