Skip to content
This repository has been archived by the owner on Oct 1, 2024. It is now read-only.

Commit

Permalink
feat: add preliminary support for HOOBS (#39)
Browse files Browse the repository at this point in the history
* Add plugin name to platform registration

* Update settings.ts

* Update index.ts

* Update settings.ts

* Remove duplicate PLUGIN_NAME definition

Co-authored-by: Stuart Olivera <[email protected]>
  • Loading branch information
askovi and sman591 authored Aug 23, 2020
1 parent 340aef4 commit 1fbd56a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -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)
}

0 comments on commit 1fbd56a

Please sign in to comment.