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.ecobee.internal.dto.thermostat;
15 import java.util.List;
18 * The {@link ClimateDTO} maps to the thermostat's Climate object.
20 * @see <a href="https://www.ecobee.com/home/developer/api/documentation/v1/objects/Climate.shtml">Climate</a>
22 * @author Mark Hilbush - Initial contribution
24 public class ClimateDTO {
27 * The unique climate name. The name may be changed without affecting the
28 * program integrity so long as uniqueness is maintained.
33 * The unique climate identifier. Changing the identifier is not possible
34 * and it is generated on the server for each climate. If this value is
35 * not supplied a new climate will be created. For the default climates
36 * and existing user created climates the climateRef should be
37 * supplied - see note above.
39 public String climateRef;
42 * A flag indicating whether the property is occupied by persons during this climate
44 public Boolean isOccupied;
47 * A flag indicating whether ecobee optimized climate settings are used by this climate.
49 public Boolean isOptimized;
52 * The cooling fan mode. Default: on. Values: auto, on.
54 public String coolFan;
57 * The heating fan mode. Default: on. Values: auto, on.
59 public String heatFan;
62 * The ventilator mode. Default: off. Values: auto, minontime, on, off.
67 * The minimum time, in minutes, to run the ventilator each hour.
69 public Integer ventilatorMinOnTime;
72 * The climate owner. Default: system. Values: adHoc, demandResponse, quickSave,
73 * sensorAction, switchOccupancy, system, template, user.
78 * The type of climate. Default: program. Values: calendarEvent, program.
83 * The integer conversion of the HEX color value used to display this
84 * climate on the thermostat and on the web portal.
86 public Integer colour;
89 * The cool temperature for this climate.
91 public Integer coolTemp;
94 * The heat temperature for this climate.
96 public Integer heatTemp;
99 * The list of sensors in use for the specific climate. The sensors listed here
100 * are used for temperature averaging within that climate. Only the sensorId
101 * and name are listed in the climate.
103 public List<RemoteSensorDTO> sensors;