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.lutron.internal.discovery.project;
16 * A component of an input device in a Lutron system. Generally each component of
17 * the device maps to a channel of the device thing.
19 * @author Allan Tong - Initial contribution
21 public class Component {
22 private Integer componentNumber;
25 public Integer getComponentNumber() {
26 return componentNumber;
29 public ComponentType getComponentType() {
31 return ComponentType.valueOf(this.type);
32 } catch (Exception e) {