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