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.loxone.internal.controls;
15 import java.util.Collections;
17 import org.junit.jupiter.api.BeforeEach;
18 import org.junit.jupiter.api.Test;
21 * Test class for (@link LxControlInfoOnlyAnalog} - check tags for temperature category
23 * @author Pawel Pieczul - initial contribution
26 public class LxControlInfoOnlyAnalogTempTagTest extends LxControlTest {
29 setupControl("0fec5dc3-003e-8800-ffff555fb0c34b9e", "0fe3a451-0283-2afa-ffff403fb0c34b9e",
30 "0fb99a98-02df-46f1-ffff403fb0c34b9e", "Info Only Analog Temperature");
34 public void testControlCreation() {
35 testControlCreation(LxControlInfoOnlyAnalog.class, 2, 0, 1, 1, 1);
39 public void testChannels() {
40 testChannel("Number", null, null, null, null, "%.1f", true, null, Collections.singleton("CurrentTemperature"));