generated from homebridge/homebridge-plugin-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
239 additions
and
224 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
import type { API } from 'homebridge'; | ||
import type { API } from "homebridge"; | ||
Check failure on line 1 in src/index.ts GitHub Actions / build (18.x)
Check failure on line 1 in src/index.ts GitHub Actions / build (20.x)
|
||
|
||
import { ExampleHomebridgePlatform } from './platform.js'; | ||
import { PLATFORM_NAME } from './settings.js'; | ||
import { GaroPlatform } from "./platform.js"; | ||
Check failure on line 3 in src/index.ts GitHub Actions / build (18.x)
Check failure on line 3 in src/index.ts GitHub Actions / build (20.x)
|
||
import { PLATFORM_NAME } from "./settings.js"; | ||
Check failure on line 4 in src/index.ts GitHub Actions / build (18.x)
Check failure on line 4 in src/index.ts GitHub Actions / build (20.x)
|
||
|
||
/** | ||
* This method registers the platform with Homebridge | ||
*/ | ||
export default (api: API) => { | ||
api.registerPlatform(PLATFORM_NAME, ExampleHomebridgePlatform); | ||
api.registerPlatform(PLATFORM_NAME, GaroPlatform); | ||
}; |
Oops, something went wrong.