2 * Copyright (c) 2010-2023 Contributors to the openHAB project
4 * See the NOTICE file(s) distributed with this work for additional
7 * This program and the accompanying materials are made available under the
8 * terms of the Eclipse Public License 2.0 which is available at
9 * http://www.eclipse.org/legal/epl-2.0
11 * SPDX-License-Identifier: EPL-2.0
13 package org.openhab.binding.bluetooth.daikinmadoka.internal.model.commands;
15 import java.util.concurrent.Executor;
17 import org.eclipse.jdt.annotation.NonNullByDefault;
18 import org.openhab.binding.bluetooth.daikinmadoka.internal.model.MadokaMessage;
19 import org.openhab.binding.bluetooth.daikinmadoka.internal.model.MadokaParsingException;
20 import org.openhab.binding.bluetooth.daikinmadoka.internal.model.MadokaValue;
23 * Command used to reset the Clean Filter Indicator timer
25 * @author Benjamin Lafois - Initial contribution
29 public class ResetCleanFilterTimerCommand extends BRC1HCommand {
32 public void handleResponse(Executor executor, ResponseListener listener, MadokaMessage mm)
33 throws MadokaParsingException {
34 setState(State.SUCCEEDED);
38 public byte[][] getRequest() {
39 MadokaValue mv = new MadokaValue(0xFE, 1, new byte[] { (byte) 0x01 });
40 return MadokaMessage.createRequest(this, mv);
44 public int getCommandId() {