@homebridge-plugins/homebridge-rainbird
Version:
The Rainbird plugin allows you to access your Rainbird device(s) from HomeKit.
24 lines • 968 B
TypeScript
import type { PlatformAccessory } from 'homebridge';
import type { RainBirdService } from 'rainbird';
import type { RainbirdPlatform } from '../platform.js';
import type { devicesConfig } from '../settings.js';
import { DeviceBase } from './DeviceBase.js';
/**
* Platform 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 ContactSensor extends DeviceBase {
readonly platform: RainbirdPlatform;
private contactSensor;
constructor(platform: RainbirdPlatform, accessory: PlatformAccessory, device: devicesConfig, rainbird: RainBirdService);
/**
* Parse the device status from the RainbirdClient
*/
parseStatus(): void;
/**
* Updates the status for each of the HomeKit Characteristics
*/
updateHomeKitCharacteristics(): Promise<void>;
}
//# sourceMappingURL=ContactSensor.d.ts.map