homebridge-tasmota
Version:
Homebridge plugin for Tasmota devices leveraging home assistant auto discovery.
16 lines (15 loc) • 691 B
TypeScript
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 tasmotaBinarySensorService extends TasmotaService {
readonly platform: tasmotaPlatform;
readonly accessory: PlatformAccessory;
protected readonly uniq_id: string;
constructor(platform: tasmotaPlatform, accessory: PlatformAccessory, uniq_id: string);
statusUpdate(topic: string, message: Buffer): void;
}