]> git.basschouten.com Git - openhab-addons.git/blob
d35ec4d2d2013afed6cb322202ffe915dd86913f
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2024 Contributors to the openHAB project
3  *
4  * See the NOTICE file(s) distributed with this work for additional
5  * information.
6  *
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
10  *
11  * SPDX-License-Identifier: EPL-2.0
12  */
13 package org.openhab.binding.senechome.internal.json;
14
15 import java.io.Serializable;
16
17 import com.google.gson.annotations.SerializedName;
18
19 /**
20  * Senec Temperature information from "TEMPMEASURE" section.
21  *
22  * @author Erwin Guib - Initial Contribution
23  */
24 public class SenecHomeTemperature implements Serializable {
25
26     private static final long serialVersionUID = 5300207918289980752L;
27
28     /**
29      * Battery temperature (°C).
30      */
31     public @SerializedName("BATTERY_TEMP") String batteryTemperature;
32
33     /**
34      * Case temperature (°C).
35      */
36     public @SerializedName("CASE_TEMP") String caseTemperature;
37
38     /**
39      * MCU Temperature (°C).
40      */
41     public @SerializedName("MCU_TEMP") String mcuTemperature;
42
43     @Override
44     public String toString() {
45         return "SenecHomeTemperature{" + "batteryTemperature='" + batteryTemperature + '\'' + ", caseTemperature='"
46                 + caseTemperature + '\'' + ", mcuTemperature='" + mcuTemperature + '\'' + '}';
47     }
48 }