homebridge-prometheus-exporter/src/index.ts

9 lines
235 B
TypeScript
Raw Normal View History

2022-11-06 13:50:39 +01:00
import { API } from 'homebridge'
2022-11-06 13:04:30 +01:00
2022-11-06 13:50:39 +01:00
import { PLATFORM_NAME } from './settings'
import { PrometheusExporterPlatform } from './platform'
2022-11-06 13:04:30 +01:00
2022-11-06 13:50:39 +01:00
export = (api: API): void => {
api.registerPlatform(PLATFORM_NAME, PrometheusExporterPlatform)
}