import { PlatformAccessory, CharacteristicValue } from 'homebridge'; import { CrestronDevice } from './crestronClient'; import { CrestronHomePlatform, CrestronAccessory } from './platform'; /** * Platform Accessory * An instance of this class is created for each security system accessory your platform registers */ export declare class CrestronHomeSecuritySystem implements CrestronAccessory { private readonly platform; private readonly accessory; private service; private securitySystemStates; crestronId: number; constructor(platform: CrestronHomePlatform, accessory: PlatformAccessory); updateState(device: CrestronDevice): void; /** * Handle requests to get the current value of the "Security System Current State" characteristic */ getSecuritySystemCurrentState(): CharacteristicValue; /** * Handle requests to get the current value of the "Security System Target State" characteristic */ getSecuritySystemTargetState(): CharacteristicValue; /** * Handle requests to get the current value of the "Security System Alarm Type" characteristic */ getSecuritySystemAlarmType(): CharacteristicValue; /** * Handle requests to get the current value of the "Status Fault" characteristic */ getStatusFault(): CharacteristicValue; /** * Convert Crestron security state to HomeKit security state * * HomeKit SecuritySystemCurrentState values: * 0 = Stay Arm * 1 = Away Arm * 2 = Night Arm * 3 = Disarmed * 4 = Alarm Triggered * * Crestron states from API: "Alarm", "ArmAway", "ArmInstant", "ArmStay", "Disarmed", "EntryDelay", "ExitDelay", "Fire" */ private crestronStateToHomeKit; /** * Convert HomeKit security state to Crestron security state * Used by the SET handler to translate HomeKit commands to Crestron API calls */ private homeKitStateToCrestron; /** * Handle "SET" requests from HomeKit to set the "Security System Target State" characteristic * This allows HomeKit to arm/disarm the security system */ setSecuritySystemTargetState(value: CharacteristicValue): Promise; } //# sourceMappingURL=CrestronHomeSecuritySystem.d.ts.map