]> git.basschouten.com Git - openhab-addons.git/blob
3a65841dcf8b0b002d9adbc5c93a2c7c0d966fd9
[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.plugwise.internal.protocol;
14
15 import static org.openhab.binding.plugwise.internal.protocol.field.MessageType.POWER_INFORMATION_REQUEST;
16
17 import org.openhab.binding.plugwise.internal.protocol.field.MACAddress;
18
19 /**
20  * Request real-time energy consumption from a relay device (Circle, Circle+, Stealth). This
21  * message is answered by a {@link PowerInformationResponseMessage}.
22  *
23  * @author Wouter Born, Karel Goderis - Initial contribution
24  */
25 public class PowerInformationRequestMessage extends Message {
26
27     public PowerInformationRequestMessage(MACAddress macAddress) {
28         super(POWER_INFORMATION_REQUEST, macAddress);
29     }
30 }