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.hw;
16 * Configuration settings for a {@link org.openhab.binding.lutron.internal.hw.HwDimmerHandler}.
18 * @author Andrew Shilliday - Initial contribution
20 public class HwDimmerConfig {
21 private static final int DEFAULT_FADE = 1;
22 private static final int DEFAULT_LEVEL = 100;
24 private String address;
25 private Integer fadeTime = DEFAULT_FADE;
26 private Integer defaultLevel = DEFAULT_LEVEL;
28 public String getAddress() {
32 public void setAddress(String address) {
33 this.address = address;
36 public Integer getFadeTime() {
40 public void setFadeTime(Integer fadeTime) {
41 this.fadeTime = fadeTime;
44 public Integer getDefaultLevel() {
48 public void setDefaultLevel(Integer defaultLevel) {
49 this.defaultLevel = defaultLevel;