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.pilight.internal.dto;
16 * Part of the {@link Action} message that is sent to pilight.
17 * This contains the desired state for a single device.
19 * @see <a href="https://manual.pilight.org/development/socket/index.html">
20 * https://manual.pilight.org/development/socket/index.html</a>
22 * @author Jeroen Idserda - Initial contribution
23 * @author Stefan Röllin - Port to openHAB 2 pilight binding
24 * @author Niklas Dörfler - Port pilight binding to openHAB 3 + add device discovery
28 public static final String STATE_ON = "on";
30 public static final String STATE_OFF = "off";
32 private String device;
36 private Values values;
38 public String getDevice() {
42 public void setDevice(String device) {
46 public String getState() {
50 public void setState(String state) {
54 public Values getValues() {
58 public void setValues(Values values) {