UNPKG

homebridge-tasmota

Version:

Homebridge plugin for Tasmota devices leveraging home assistant auto discovery.

18 lines (17 loc) 830 B
import { PlatformAccessory } from 'homebridge'; import { TasmotaService } from './TasmotaService.js'; import { tasmotaPlatform } from './tasmotaPlatform.js'; /** * 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 tasmotaSensorService extends TasmotaService { readonly platform: tasmotaPlatform; readonly accessory: PlatformAccessory; protected readonly uniq_id: string; protected readonly outletInUse: boolean; constructor(platform: tasmotaPlatform, accessory: PlatformAccessory, uniq_id: string, outletInUse?: boolean); statusUpdate(topic: string, message: Buffer): void; findDeviceClass(unit_of_meas: string, icon: string): string | undefined; }