2 * Copyright (c) 2010-2022 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 org.openhab.binding.loxone.internal.types.LxUuid;
18 * A LeftRightAnalog type of control on Loxone Miniserver.
20 * According to Loxone API documentation, LeftRightAnalog control is a virtual input that is analog and has an input
22 * up-down buttons. The analog buttons are simulated as a single analog number value. This control behaves exactly the
23 * same as {@link LxControlUpDownAnalog} but has a different name.
25 * @author Pawel Pieczul - initial contribution
28 class LxControlLeftRightAnalog extends LxControlUpDownAnalog {
30 static class Factory extends LxControlInstance {
32 LxControl create(LxUuid uuid) {
33 return new LxControlLeftRightAnalog(uuid);
38 return "leftrightanalog";
42 private LxControlLeftRightAnalog(LxUuid uuid) {
47 public void initialize(LxControlConfig config) {
48 super.initialize(config, "Left/Right Analog");