UNPKG

@pietrolubini/homebridge-ecoflow

Version:
15 lines 906 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ThermostatFridgeSingleZoneService = void 0; const glacierMqttApiContracts_1 = require("@ecoflow/accessories/glacier/interfaces/glacierMqttApiContracts"); const glacierThermostatFridgeServiceBase_1 = require("@ecoflow/accessories/glacier/services/glacierThermostatFridgeServiceBase"); class ThermostatFridgeSingleZoneService extends glacierThermostatFridgeServiceBase_1.GlacierThermostatFridgeServiceBase { constructor(ecoFlowAccessory) { super(ecoFlowAccessory, 'Single Zone'); } processOnSetTargetTemperature(value, revert) { return this.sendSetCommand(glacierMqttApiContracts_1.GlacierMqttSetOperateType.Temperature, { tmpM: value }, revert); } } exports.ThermostatFridgeSingleZoneService = ThermostatFridgeSingleZoneService; //# sourceMappingURL=thermostatFridgeSingleZoneService.js.map