homebridge-denon-heos-audio
Version:
Control your Denon speakers via AVR Control and/or HeosCLI
21 lines (20 loc) • 983 B
TypeScript
import type { API, Characteristic, DynamicPlatformPlugin, Logger, PlatformAccessory, PlatformConfig, Service } from "homebridge";
export declare class DenonAudioPlatform implements DynamicPlatformPlugin {
readonly rawLog: Logger;
readonly log: Logger;
readonly config: PlatformConfig;
readonly api: API;
readonly Service: typeof Service;
readonly Characteristic: typeof Characteristic;
readonly accessories: Map<string, PlatformAccessory>;
readonly ssdpDiscoveredDevices: Map<string, any>;
constructor(log: Logger, config: PlatformConfig, api: API);
/**
* This function is invoked when homebridge restores cached accessories from disk at startup.
* It should be used to set up event handlers for characteristics and update respective values.
*/
configureAccessory(accessory: PlatformAccessory): void;
discoverDevices(): void;
discoverSsdpDevices(): Promise<void>;
checkSsdpDevice(service: any): Promise<void>;
}