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.bondhome.internal.api;
15 import static org.openhab.binding.bondhome.internal.BondHomeBindingConstants.*;
17 import org.eclipse.jdt.annotation.NonNullByDefault;
18 import org.openhab.core.thing.ThingTypeUID;
20 import com.google.gson.annotations.SerializedName;
23 * This enum represents the possible device types
25 * @author Sara Geleskie Damiano - Initial contribution
29 public enum BondDeviceType {
31 CEILING_FAN(THING_TYPE_BOND_FAN),
33 MOTORIZED_SHADES(THING_TYPE_BOND_SHADES),
35 FIREPLACE(THING_TYPE_BOND_FIREPLACE),
37 GENERIC_DEVICE(THING_TYPE_BOND_GENERIC),
39 LIGHT(THING_TYPE_BOND_LIGHT);
41 private ThingTypeUID deviceTypeUid;
43 private BondDeviceType(final ThingTypeUID deviceTypeUid) {
44 this.deviceTypeUid = deviceTypeUid;
48 * Gets the device type name for request deviceType
50 * @return the deviceType name
52 public ThingTypeUID getThingTypeUID() {