import { CharacteristicValue } from 'homebridge'; import { SmartRentPlatform } from '../platform'; import type { SmartRentAccessory } from '.'; import { WSEvent } from '../lib/client'; /** * Switch Accessory * An instance of this class is created for each accessory the platform registers * Each accessory may expose multiple services of different service types. */ export declare class SwitchAccessory { private readonly platform; private readonly accessory; private service; private state; constructor(platform: SmartRentPlatform, accessory: SmartRentAccessory); private static _getOnCharacteristicValue; /** * Handle device state changed events */ handleDeviceStateChanged(event: WSEvent): Promise; /** * Handle requests to get the current value of the "On" characteristic */ handleOnGet(): Promise; /** * Handle requests to set the "On" characteristic */ handleOnSet(value: CharacteristicValue): Promise; } //# sourceMappingURL=switch.d.ts.map