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;
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.
21 * @author Mark Hilbush - Initial contribution
23 public class LocationDTO {
25 * The timezone offset in minutes from UTC.
27 public Integer timeZoneOffsetMinutes;
30 * The Olson timezone the thermostat resides in (e.g America/Toronto).
32 public String timeZone;
35 * Whether the thermostat should factor in daylight savings when displaying the date and time.
37 public Boolean isDaylightSaving;
40 * The thermostat location street address.
42 public String streetAddress;
45 * The thermostat location city.
50 * The thermostat location State or Province
52 public String provinceState;
55 * The thermostat location country.
57 public String country;
60 * The thermostat location ZIP or Postal code.
62 public String postalCode;
65 * The thermostat owner's phone number.
67 public String phoneNumber;
70 * The lat/long geographic coordinates of the thermostat location.
72 public String mapCoordinates;