UNPKG

@constructorfleet/ultimate-govee

Version:

Library for interacting with Govee devices written in Typescript.

18 lines 655 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.IceMakerWaterEmpty = void 0; const states_1 = require("../../../states"); const op_code_1 = require("../../../../../common/op-code"); class IceMakerWaterEmpty extends states_1.DeviceOpState { constructor(device) { super({ opType: op_code_1.OpType.REPORT, identifier: [23], }, device, states_1.WaterShortageStateName, undefined); } parseOpCommand(opCommand) { this.stateValue.next(opCommand[1] === 0x01); } } exports.IceMakerWaterEmpty = IceMakerWaterEmpty; //# sourceMappingURL=ice-maker.water-empty.js.map