homebridge-philips-hue-sync-box
Version:
Homebridge plugin for the Philips Hue Sync Box.
19 lines • 755 B
TypeScript
import { SwitchDevice } from './switch.js';
import { CharacteristicValue } from 'homebridge';
/**
* PowerSwitchDevice controls the power state of the Sync Box (powersave vs. passthrough/sync)
* - ON: Sets to passthrough mode (HDMI active, sync off)
* - OFF: Sets to powersave mode (power off)
*/
export declare class PowerSwitchDevice extends SwitchDevice {
protected getSuffix(): string;
/**
* Override updateMode to control hdmiActive instead of syncActive
*/
protected updateMode(currentVal: CharacteristicValue | null, newValue: CharacteristicValue): void;
/**
* Override shouldBeOn to return true for any mode except powersave
*/
protected shouldBeOn(): boolean;
}
//# sourceMappingURL=powerSwitch.d.ts.map