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.plugwiseha.internal.api.model.dto;
15 import com.thoughtworks.xstream.annotations.XStreamAlias;
18 * @author B. van Wetten - Initial contribution
19 * @author Leo Siepel - finish initial contribution
21 @XStreamAlias("thermostat_functionality")
22 public class ActuatorFunctionalityThermostat extends ActuatorFunctionality {
24 @SuppressWarnings("unused")
25 private Double setpoint;
27 @SuppressWarnings("unused")
28 @XStreamAlias("preheating_allowed")
29 private Boolean preheatingAllowed;
31 @SuppressWarnings("unused")
32 @XStreamAlias("cooling_allowed")
33 private Boolean coolingAllowed;
35 @SuppressWarnings("unused")
36 @XStreamAlias("regulation_control")
37 private String regulationControl;
39 public ActuatorFunctionalityThermostat(Double temperature) {
40 this.setpoint = temperature;
43 public ActuatorFunctionalityThermostat(Boolean preheatingAllowed, Boolean coolingAllowed,
44 String regulationControl) {
45 this.preheatingAllowed = preheatingAllowed;
46 this.coolingAllowed = coolingAllowed;
47 this.regulationControl = regulationControl;