UNPKG

homebridge-connect-my-pool-home-automation

Version:
18 lines 636 B
"use strict"; 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