UNPKG

homebridge-soundtouch-plugins

Version:
32 lines 1.43 kB
import { PlatformAccessory } from 'homebridge'; import { HomebridgeAccessoryWrapper } from './utils'; import { DeviceOnOffListener, HomebridgeContextProps, SoundTouchDevice } from './types'; export declare class SoundTouchAccessoryWrapper extends HomebridgeAccessoryWrapper<SoundTouchDevice> implements DeviceOnOffListener { private readonly volume?; private readonly onService; private readonly presetServices; private readonly sourceServices; private readonly informationService; private static readonly presetValues; constructor(context: HomebridgeContextProps, accessory: PlatformAccessory, device: SoundTouchDevice); getDisplayName(): string; private initVolumeService; private initOnService; private initPresetServices; private initSourceServices; private initInformationService; setOn(on: boolean, updateOn?: boolean): Promise<boolean>; private getSelectedSource; private isSelectedPreset; private setPreset; deviceDidTurnOn(updateOn?: boolean, updateVolume?: boolean): Promise<boolean>; deviceDidTurnOff(updateOn?: boolean, updateVolume?: boolean): Promise<boolean>; private switchSelectedSource; private switchService; private switchPresetService; private switchSourceService; private isSelectedSource; private setSource; private _refreshDeviceServices; } //# sourceMappingURL=sound-touch-accessory-wrapper.d.ts.map