homebridge-prometheus-exporter/src/index.ts
2022-11-07 15:23:48 +01:00

8 lines
235 B
TypeScript

import { API } from 'homebridge'
import { PLATFORM_NAME } from './settings'
import { PrometheusExporterPlatform } from './platform'
export = (api: API): void => {
api.registerPlatform(PLATFORM_NAME, PrometheusExporterPlatform)
}