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.tellstick.internal.live.xml;
16 * This enum is used to describe the value types in the Live API from telldus.
18 * @author Jarle Hjortland - Initial contribution
20 public enum LiveDataType {
24 WINDDIRECTION("wdir"),
34 LiveDataType(String name) {
38 public static LiveDataType fromName(String name) {
39 LiveDataType result = LiveDataType.UNKOWN;
40 for (LiveDataType m : LiveDataType.values()) {
41 if (m.name.equals(name)) {
50 public String toString() {