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.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 public ActuatorFunctionalityThermostat(Double temperature) {
32 this.setpoint = temperature;
35 public ActuatorFunctionalityThermostat(Boolean preheatingAllowed) {
36 this.preheatingAllowed = preheatingAllowed;