2 * Copyright (c) 2010-2024 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.velbus.internal.handler;
15 import static org.openhab.binding.velbus.internal.VelbusBindingConstants.*;
17 import java.util.Arrays;
18 import java.util.HashSet;
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;
27 * The {@link VelbusVMBGPHandler} is responsible for handling commands, which are
28 * sent to one of the channels.
30 * @author Cedric Boon - Initial contribution
33 public class VelbusVMBGPHandler extends VelbusThermostatHandler {
34 public static final Set<ThingTypeUID> SUPPORTED_THING_TYPES = new HashSet<>(
35 Arrays.asList(THING_TYPE_VMBGP1, THING_TYPE_VMBGP1_2, THING_TYPE_VMBGP2, THING_TYPE_VMBGP2_2,
36 THING_TYPE_VMBGP4, THING_TYPE_VMBGP4_2, THING_TYPE_VMBGP4PIR, THING_TYPE_VMBGP4PIR_2));
38 public VelbusVMBGPHandler(Thing thing) {
39 super(thing, 4, new ChannelUID(thing.getUID(), "input", "CH9"));