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.automation.pwm.internal;
15 import org.eclipse.jdt.annotation.NonNullByDefault;
18 * Constants for the PWM automation module.
20 * @author Fabian Wolter - Initial Contribution
23 public class PWMConstants {
24 public static final String AUTOMATION_NAME = "pwm";
26 public static final String CONFIG_DUTY_CYCLE_ITEM = "dutycycleItem";
27 public static final String CONFIG_PERIOD = "interval";
28 public static final String CONFIG_MIN_DUTYCYCLE = "minDutycycle";
29 public static final String CONFIG_EQUATE_MIN_TO_ZERO = "equateMinToZero";
30 public static final String CONFIG_MAX_DUTYCYCLE = "maxDutycycle";
31 public static final String CONFIG_EQUATE_MAX_TO_HUNDRED = "equateMaxToHundred";
32 public static final String CONFIG_COMMAND_ITEM = "command";
33 public static final String CONFIG_DEAD_MAN_SWITCH = "deadManSwitch";
34 public static final String CONFIG_OUTPUT_ITEM = "outputItem";
35 public static final String INPUT = "input";
36 public static final String OUTPUT = "command";