homebridge-philips-hue-sync-box
Version:
Homebridge plugin for the Philips Hue Sync Box.
13 lines • 610 B
TypeScript
/**
* Converts a HomeKit brightness value (0-100) to a Sync Box brightness value (0-200)
* @param homekitValue - The HomeKit brightness value (0-100)
* @returns The Sync Box brightness value (0-200)
*/
export declare function convertHomekitToSyncBox(homekitValue: number): number;
/**
* Converts a Sync Box brightness value (0-200) to a HomeKit brightness value (0-100)
* @param syncBoxValue - The Sync Box brightness value (0-200)
* @returns The HomeKit brightness value (0-100)
*/
export declare function convertSyncBoxToHomekit(syncBoxValue: number): number;
//# sourceMappingURL=brightness.d.ts.map