UNPKG

homebridge-apc-ups-alert

Version:

Provide information (and alerts) for apcupsd connected Uninterruptible Power Supplies

23 lines 888 B
import { PlatformAccessory } from 'homebridge'; import { UpsAlertHomebridgePlatform } from './platform'; import { ServerConfiguration } from './configModels'; /** * Platform Accessory * An instance of this class is created for each accessory your platform registers * Each accessory may expose multiple services of different service types. */ export declare class UpsPlatformAccessory { private readonly platform; private readonly accessory; private readonly config; private service; private isOnline; private highestTimeRemaining; constructor(platform: UpsAlertHomebridgePlatform, accessory: PlatformAccessory, config: ServerConfiguration); private pollForInformation; private static normalizeString; private static extractNumber; private static normalizeProperty; private processData; } //# sourceMappingURL=platformAccessory.d.ts.map