UNPKG

@homebridge-plugins/homebridge-resideo

Version:

The Resideo plugin allows you to access your Resideo device(s) from HomeKit.

33 lines 1.43 kB
import type { ConvertUnitsOption } from './settings.js'; /** * Converts the value to celsius if the temperature units are in Fahrenheit */ export declare function toCelsius(value: number, unit: number): number; export declare function toCelsiusWithOverride(value: number, unit: number, convertUnits?: ConvertUnitsOption): number; /** * Converts the value to fahrenheit if the temperature units are in Fahrenheit */ export declare function toFahrenheit(value: number, unit: number): number; export declare enum HomeKitModes { Off = 0,// this.hap.Characteristic.TargetHeatingCoolingState.OFF Heat = 1,// this.hap.Characteristic.TargetHeatingCoolingState.HEAT Cool = 2,// this.hap.Characteristic.TargetHeatingCoolingState.COOL Auto = 3 } export declare enum ResideoModes { Off = "Off", Heat = "Heat", Cool = "Cool", Auto = "Auto" } /** * Creates a proxy class that instantiates the correct platform implementation * (HAP or Matter) at runtime based on the user's configuration and the * availability of the Matter API in the running Homebridge instance. * * @param HAPPlatform The HAP platform class constructor. * @param MatterPlatform The Matter platform class constructor. * @returns A proxy class that delegates to the correct platform implementation. */ export declare function createPlatformProxy(HAPPlatform: any, MatterPlatform: any): any; //# sourceMappingURL=utils.d.ts.map