6 lines
204 B
TypeScript
6 lines
204 B
TypeScript
import { API } from "homebridge";
|
|
import { PLUGIN_NAME } from "./data/constants";
|
|
import Controller from "./controller";
|
|
|
|
export default (api: API) => api.registerPlatform(PLUGIN_NAME, Controller as any)
|