homebridge-tessie
Version:
Connect Homebridge to your Tessie account.
17 lines (16 loc) • 805 B
TypeScript
import { Logging, PlatformAccessory, Service, WithUUID } from "homebridge";
import { VehicleSpecific } from "tesla-fleet-api";
import { TeslaFleetApiPlatform } from "../platform.js";
import { EventEmitter } from "../utils/event.js";
import { VehicleAccessory, VehicleContext, VehicleDataEvent } from "../vehicle.js";
export declare abstract class BaseService {
protected parent: VehicleAccessory;
protected service: Service;
protected log: Logging;
protected platform: TeslaFleetApiPlatform;
protected accessory: PlatformAccessory<VehicleContext>;
protected emitter: EventEmitter<VehicleDataEvent>;
protected vehicle: VehicleSpecific;
protected name: string;
constructor(parent: VehicleAccessory, definition: WithUUID<typeof Service>, name: string, subtype: string);
}