]> git.basschouten.com Git - openhab-addons.git/blob
9dba4f7936d4a14b779b91b5c2369179fbc5cc90
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2023 Contributors to the openHAB project
3  *
4  * See the NOTICE file(s) distributed with this work for additional
5  * information.
6  *
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
10  *
11  * SPDX-License-Identifier: EPL-2.0
12  */
13 package org.openhab.binding.mihome.internal.handler;
14
15 import org.openhab.core.thing.ChannelUID;
16 import org.openhab.core.thing.Thing;
17 import org.openhab.core.types.Command;
18 import org.slf4j.Logger;
19 import org.slf4j.LoggerFactory;
20
21 /**
22  * Abstract base class for controllable devices
23  *
24  * @author Dieter Schmidt - Initial contribution
25  */
26 public abstract class XiaomiActorBaseHandler extends XiaomiDeviceBaseHandler {
27
28     private final Logger logger = LoggerFactory.getLogger(XiaomiActorBaseHandler.class);
29
30     public XiaomiActorBaseHandler(Thing thing) {
31         super(thing);
32     }
33
34     @Override
35     void execute(ChannelUID channelUID, Command command) {
36         logger.debug("The binding does not support this message yet, contact authors if you want it to");
37     }
38 }