diff --git a/src/index.ts b/src/index.ts index bf6dc7f..6e2f63a 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,11 +1,11 @@ import type { API } from 'homebridge' -import { PLATFORM_NAME } from './settings' +import { PLUGIN_NAME, PLATFORM_NAME } from './settings' import { HomebridgeLgThinqPlatform } from './platform' /** * This method registers the platform with Homebridge */ export = (api: API) => { - api.registerPlatform(PLATFORM_NAME, HomebridgeLgThinqPlatform) + api.registerPlatform(PLUGIN_NAME, PLATFORM_NAME, HomebridgeLgThinqPlatform) }