homebridge-unifi-ap-light
Version:
Control the blue LED ring on your UniFi APs!
24 lines • 1.02 kB
TypeScript
import { PlatformAccessory, CharacteristicValue } from 'homebridge';
import { UnifiAPLight } from './platform.js';
/**
* This class represents a single platform accessory (e.g., a UniFi access point) for Homebridge.
* It handles the lifecycle and HomeKit interactions for individual accessories.
*/
export declare class UniFiAP {
private readonly platform;
private readonly accessory;
accessPoint: any;
private service;
constructor(platform: UnifiAPLight, accessory: PlatformAccessory);
/**
* Handles "SET" requests from HomeKit to change the state of the accessory.
* @param {CharacteristicValue} value - The new state from HomeKit.
*/
setOn(value: CharacteristicValue): Promise<void>;
/**
* Handles "GET" requests from HomeKit to retrieve the current state of the accessory.
* @returns {Promise<CharacteristicValue>} - The current state of the accessory.
*/
getOn(): Promise<CharacteristicValue>;
}
//# sourceMappingURL=platformAccessory.d.ts.map