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 ElectricityDeviceDTO} represents an energy recording device. At this time,
19 * only meters are supported by the API.
21 * @author Mark Hilbush - Initial contribution
23 public class ElectricityDeviceDTO {
26 * The name of the device.
31 * The list of Electricity Tiers containing the break down of daily electricity
32 * consumption of the device for the day, broken down per pricing tier.
34 public List<ElectricityTierDTO> tiers;
37 * The last date/time the reading was updated in UTC time.
39 public String lastUpdate;
42 * The last three daily electricity cost reads from the device in cents with a
43 * three decimal place precision.
45 public List<String> cost;
48 * The last three daily electricity consumption reads from the device in KWh
49 * with a three decimal place precision.
51 public List<String> consumption;