UNPKG

homebridge-soundtouch-platform

Version:
32 lines 1.46 kB
import { DeviceOnOffListener, SoundTouchDevice } from './sound-touch-device'; import { HomebridgeContextProps, HomebridgeAccessoryWrapper } from 'homebridge-base-platform'; import { PlatformAccessory } from "homebridge"; 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