]> git.basschouten.com Git - openhab-addons.git/blob
0948989974f8e6504c2f7a842d9b8709062bf5a2
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2024 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.velbus.internal.handler;
14
15 import static org.openhab.binding.velbus.internal.VelbusBindingConstants.*;
16
17 import java.util.Arrays;
18 import java.util.HashSet;
19 import java.util.Set;
20
21 import org.eclipse.jdt.annotation.NonNullByDefault;
22 import org.openhab.core.thing.ChannelUID;
23 import org.openhab.core.thing.Thing;
24 import org.openhab.core.thing.ThingTypeUID;
25
26 /**
27  * The {@link VelbusVMBELHandler} is responsible for handling commands, which are
28  * sent to one of the channels.
29  *
30  * @author Cedric Boon - Initial contribution
31  * @author Daniel Rosengarten - Add VMBELPIR support
32  */
33 @NonNullByDefault
34 public class VelbusVMBELHandler extends VelbusThermostatHandler {
35     public static final Set<ThingTypeUID> SUPPORTED_THING_TYPES = new HashSet<>(
36             Arrays.asList(THING_TYPE_VMBEL1, THING_TYPE_VMBEL2, THING_TYPE_VMBEL4, THING_TYPE_VMBELPIR));
37
38     public VelbusVMBELHandler(Thing thing) {
39         super(thing, 4, new ChannelUID(thing.getUID(), "input", "CH9"));
40     }
41 }