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 * {@link http://www.pilight.org/development/api/#sender}
21 * @author Jeroen Idserda - Initial contribution
22 * @author Stefan Röllin - Port to openHAB 2 pilight binding
23 * @author Niklas Dörfler - Port pilight binding to openHAB 3 + add device discovery
27 public static final String STATE_ON = "on";
29 public static final String STATE_OFF = "off";
31 private String device;
35 private Values values;
37 public String getDevice() {
41 public void setDevice(String device) {
45 public String getState() {
49 public void setState(String state) {
53 public Values getValues() {
57 public void setValues(Values values) {