homebridge-prometheus-exporter/src/index.ts

12 lines
292 B
TypeScript
Raw Normal View History

2022-11-06 13:04:30 +01:00
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);
};