UNPKG

@constructorfleet/ultimate-govee

Version:

Library for interacting with Govee devices written in Typescript.

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