2 * Copyright (c) 2010-2024 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.senechome.internal.json;
15 import java.io.Serializable;
17 import com.google.gson.annotations.SerializedName;
20 * Senec Temperature information from "TEMPMEASURE" section.
22 * @author Erwin Guib - Initial Contribution
24 public class SenecHomeTemperature implements Serializable {
26 private static final long serialVersionUID = 5300207918289980752L;
29 * Battery temperature (°C).
31 public @SerializedName("BATTERY_TEMP") String batteryTemperature;
34 * Case temperature (°C).
36 public @SerializedName("CASE_TEMP") String caseTemperature;
39 * MCU Temperature (°C).
41 public @SerializedName("MCU_TEMP") String mcuTemperature;
44 public String toString() {
45 return "SenecHomeTemperature{" + "batteryTemperature='" + batteryTemperature + '\'' + ", caseTemperature='"
46 + caseTemperature + '\'' + ", mcuTemperature='" + mcuTemperature + '\'' + '}';