homebridge-connect-my-pool-home-automation
Version:
HomeKit integration for Astral Viron Gateway via Home Automation
24 lines • 1.21 kB
TypeScript
import { PlatformAccessory, Service } from 'homebridge';
import { ILightingZoneConfigStatus } from '../configStatus';
import { LightingZoneDevice } from '../devices/lightingZoneDevice';
import { ConnectMyPoolHomeAutomationHomebridgePlatform } from '../platform';
import { PoolStatus } from '../status';
import { Accessory } from './accessory';
/**
* Channel Accessory
* An instance of this class is created for each accessory your platform registers
* Each accessory may expose multiple services of different service types.
*/
export declare class LightingAccessory extends Accessory {
private stateOn;
private lightingZoneConfigStatus;
constructor(platform: ConnectMyPoolHomeAutomationHomebridgePlatform, accessory: PlatformAccessory, device: LightingZoneDevice, status: PoolStatus);
protected setUpServices(): void;
protected createLightingService(): Service;
protected getLightingZoneConfigStatus(status: PoolStatus): ILightingZoneConfigStatus;
setConfigStatus(status: PoolStatus): void;
updateStatus(status: PoolStatus): Promise<void>;
getOnState(): boolean;
setOnState(value: any): void;
}
//# sourceMappingURL=lightingAccessory.d.ts.map