UNPKG

homebridge-tessie

Version:

Connect Homebridge to your Tessie account.

17 lines (16 loc) 794 B
import { Logging, PlatformAccessory, Service, WithUUID } from "homebridge"; import { EnergySpecific } from "tesla-fleet-api"; import { TeslaFleetApiPlatform } from "../platform.js"; import { EventEmitter } from "../utils/event.js"; import { EnergyAccessory, EnergyContext, EnergyDataEvent } from "../energy.js"; export declare abstract class BaseService { protected parent: EnergyAccessory; protected service: Service; protected log: Logging; protected platform: TeslaFleetApiPlatform; protected accessory: PlatformAccessory<EnergyContext>; protected emitter: EventEmitter<EnergyDataEvent>; protected energy: EnergySpecific; protected name: string; constructor(parent: EnergyAccessory, definition: WithUUID<typeof Service>, name: string, subtype: string); }