homebridge-connect-my-pool-home-automation
Version:
HomeKit integration for Astral Viron Gateway via Home Automation
19 lines • 703 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.HeaterDevice = void 0;
class HeaterDevice {
constructor(config, count, hasPoolSpaSelectionEnabled = false) {
this.deviceType = HeaterDevice.type;
this.deviceName = 'Pool Heater';
if (count > 1) {
this.deviceName += ' ' + count.toString();
}
this.hasPoolSpaSelectionEnabled = hasPoolSpaSelectionEnabled;
this.deviceTypeNumber = config.heater_number;
this.data = config;
this.category = 9 /* THERMOSTAT */;
}
}
exports.HeaterDevice = HeaterDevice;
HeaterDevice.type = 'Heater';
//# sourceMappingURL=heaterDevice.js.map