homebridge-virtual-accessories
Version:
Virtual HomeKit accessories for Homebridge.
27 lines (26 loc) • 862 B
TypeScript
import { Validatable } from '../validatable.js';
/**
*
*/
export declare class HeaterCoolerConfiguration implements Validatable {
type: string;
hasFan: boolean;
temperatureDisplayUnits: string;
heatingThresholdCelsius: number;
coolingThresholdCelsius: number;
heatingThresholdFahrenheit: number;
coolingThresholdFahrenheit: number;
saunaHeatingThresholdCelsius: number;
saunaHeatingThresholdFahrenheit: number;
heatingThreshold: number | undefined;
coolingThreshold: number | undefined;
private errorFields;
readonly fieldNames: { [P in keyof this]?: P | undefined; };
isValid(prefix: string): [boolean, string[]];
private getHeatingThreshold;
private getCoolingThreshold;
private isValidHeatingThreshold;
private isValidCoolingThreshold;
private toCelsius;
private capitalize;
}