]> git.basschouten.com Git - openhab-addons.git/blob
f2cb6cc16cc94210c8d74e4c42a7717d0661b86b
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2023 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.ecobee.internal.dto.thermostat;
14
15 import org.openhab.binding.ecobee.internal.enums.LimitNotificationType;
16
17 /**
18  * The {@link LimitSettingDTO} represents the alert/reminder type which is associated
19  * specific values, such as highHeat or lowHumidity. It is used when getting/setting
20  * the Thermostat NotificationSettings object. The type corresponds to the
21  * Alert.notificationType returned when alerts are also included in the selection.
22  * See Alert for more information.
23  *
24  * @author Mark Hilbush - Initial contribution
25  */
26 public class LimitSettingDTO {
27
28     /*
29      * The value of the limit to set. For temperatures the value is expressed as
30      * degrees Fahrenheit, multipled by 10. For humidity values are expressed as
31      * a percentage from 5 to 95. See here for more information.
32      */
33
34     public Integer limit;
35
36     /*
37      * Boolean value representing whether or not alerts/reminders are enabled for
38      * this notification type or not.
39      */
40     public Boolean enabled;
41
42     /*
43      * The type of notification. Possible values are: lowTemp, highTemp, lowHumidity,
44      * highHumidity, auxHeat, auxOutdoor
45      */
46     public LimitNotificationType type;
47
48     /*
49      * Boolean value representing whether or not alerts/reminders should be sent to
50      * the technician/contractor associated with the thermostat.
51      */
52     public Boolean remindTechnician;
53 }