]> git.basschouten.com Git - openhab-addons.git/blob
f90961255fd33da2182e5da49008b37814fb5588
[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 /**
16  * The {@link RemoteSensorCapabilityDTO}represents the specific capability of a
17  * sensor connected to the thermostat. For the occupancy type capability the
18  * data will only show computed occupancy, as does the thermostat.
19  *
20  * @author Mark Hilbush - Initial contribution
21  */
22 public class RemoteSensorCapabilityDTO {
23     /*
24      * The unique sensor capability identifier. For example: 1
25      */
26     public String id;
27
28     /*
29      * The type of sensor capability. Values: adc, co2, dryContact,
30      * humidity, temperature, occupancy, unknown.
31      */
32     public String type;
33
34     /*
35      * The data value for this capability, always a String. Temperature
36      * values are expressed as degrees Fahrenheit, multiplied by 10. For
37      * example, a temperature of 72F would be returned as the value "720".
38      * Occupancy values are "true" or "false". Humidity is expressed as
39      * a % value such as "45". Unknown values are returned as "unknown".
40      */
41     public String value;
42 }