]> git.basschouten.com Git - openhab-addons.git/blob
5f121ad74f634dc163e92ddd4b7df0c4bb9b4441
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2023 Contributors to the openHAB project
3  *
4  * See the NOTICE file(s) distributed with this work for additional
5  * information.
6  *
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
10  *
11  * SPDX-License-Identifier: EPL-2.0
12  */
13 package org.openhab.io.imperihome.internal.model.param;
14
15 /**
16  * Parameter type enumeration. Contains the ISS API parameter key string.
17  *
18  * @author Pepijn de Geus - Initial contribution
19  */
20 public enum ParamType {
21
22     DEFAULT_ICON("defaultIcon"),
23     GENERIC_VALUE("Value"),
24     TEMPERATURE_VALUE("Value"),
25     TEMPERATURE_DUAL("temp"),
26     LUMINOSITY_VALUE("Value"),
27     HYGROMETRY_DUAL("hygro"),
28     HYGROMETRY_VALUE("Value"),
29     CO2_VALUE("Value"),
30     PRESSURE_VALUE("Value"),
31     NOISE_VALUE("Value"),
32     RAIN_VALUE("Value"),
33     UV_VALUE("Value"),
34     DIMMABLE("dimmable"),
35     ENERGY("Energy"),
36     STATUS("Status"),
37     MULTISWITCH_VALUE("Value"),
38     CHOICES("Choices"),
39     COLOR("color"),
40     LEVEL("Level"),
41     WHITE_CHANNEL("whitechannel"),
42     WATTS("Watts"),
43     KWH("ConsoTotal"),
44     ARMABLE("armable"),
45     ARMED("Armed"),
46     ACKABLE("ackable"),
47     TRIPPED("Tripped"),
48     LAST_TRIP("lasttrip"),
49     ACCUMULATION("Accumulation"),
50     SPEED("Speed"),
51     DIRECTION("Direction"),
52     STOPPABLE("stopable"),
53     PULSEABLE("pulseable"),
54
55     // Thermostat parameters
56     CUR_MODE("curmode"),
57     CUR_SETPOINT("cursetpoint"),
58     CUR_TEMP("curtemp"),
59     MIN_VAL("minVal"),
60     MAX_VAL("maxVal"),
61     AVAIL_MODE("availablemodes"),
62     STEP("step");
63
64     private final String apiString;
65
66     ParamType(String apiString) {
67         this.apiString = apiString;
68     }
69
70     public String getApiString() {
71         return apiString;
72     }
73 }