UNPKG

homebridge-zaptec

Version:
25 lines 929 B
import { PlatformAccessory } from "homebridge"; import { ChargerListModel } from "../lib/zaptec"; import { ZaptecHomebridgePlatform } from "../platform"; /** * 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 ChargingStationAccessory { private readonly platform; private readonly accessory; private pluggedContactSensor; private chargerSwitch; private temperatureSensor; private chargerState; constructor(platform: ZaptecHomebridgePlatform, accessory: PlatformAccessory<{ charger: ChargerListModel; }>); get chargerId(): string; get chargingState(): 1 | 0 | 2; get temperature(): number; fetchChargeState: () => Promise<void>; populateServices: () => void; } //# sourceMappingURL=charging-station-accessory.d.ts.map