]> git.basschouten.com Git - openhab-addons.git/blob
f59a7a633b4519ce16ca79a173ce6c10743cd9e4
[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.velbus.internal.handler;
14
15 import static org.openhab.binding.velbus.internal.VelbusBindingConstants.THING_TYPE_VMB1TS;
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 VelbusVMB1TSHandler} is responsible for handling commands, which are
28  * sent to one of the channels.
29  *
30  * @author Cedric Boon - Initial contribution
31  */
32 @NonNullByDefault
33 public class VelbusVMB1TSHandler extends VelbusThermostatHandler {
34     public static final Set<ThingTypeUID> SUPPORTED_THING_TYPES = new HashSet<>(Arrays.asList(THING_TYPE_VMB1TS));
35
36     public VelbusVMB1TSHandler(Thing thing) {
37         super(thing, 0, new ChannelUID(thing.getUID(), "input", "CH1"));
38     }
39 }