12 lines
292 B
TypeScript
12 lines
292 B
TypeScript
|
import { API } from 'homebridge';
|
||
|
|
||
|
import { PLATFORM_NAME } from './settings';
|
||
|
import { ExampleHomebridgePlatform } from './platform';
|
||
|
|
||
|
/**
|
||
|
* This method registers the platform with Homebridge
|
||
|
*/
|
||
|
export = (api: API) => {
|
||
|
api.registerPlatform(PLATFORM_NAME, ExampleHomebridgePlatform);
|
||
|
};
|