]> git.basschouten.com Git - openhab-addons.git/blob
f62006e5544d66bf26eafdf6bc391b5afa958505
[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 LocationDTO} describes the physical location and coordinates of the
17  * thermostat as entered by the thermostat owner. The address information is used
18  * in a geocode look up to obtain the thermostat coordinates. The coordinates
19  * are used to obtain accurate weather information.
20  *
21  * @author Mark Hilbush - Initial contribution
22  */
23 public class LocationDTO {
24     /*
25      * The timezone offset in minutes from UTC.
26      */
27     public Integer timeZoneOffsetMinutes;
28
29     /*
30      * The Olson timezone the thermostat resides in (e.g America/Toronto).
31      */
32     public String timeZone;
33
34     /*
35      * Whether the thermostat should factor in daylight savings when displaying the date and time.
36      */
37     public Boolean isDaylightSaving;
38
39     /*
40      * The thermostat location street address.
41      */
42     public String streetAddress;
43
44     /*
45      * The thermostat location city.
46      */
47     public String city;
48
49     /*
50      * The thermostat location State or Province
51      */
52     public String provinceState;
53
54     /*
55      * The thermostat location country.
56      */
57     public String country;
58
59     /*
60      * The thermostat location ZIP or Postal code.
61      */
62     public String postalCode;
63
64     /*
65      * The thermostat owner's phone number.
66      */
67     public String phoneNumber;
68
69     /*
70      * The lat/long geographic coordinates of the thermostat location.
71      */
72     public String mapCoordinates;
73 }