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;
15 import org.eclipse.jdt.annotation.NonNullByDefault;
18 * This object is sent to pilight right after the initial connection. It describes what kind of client we want to be.
20 * @author Jeroen Idserda - Initial contribution
21 * @author Stefan Röllin - Port to openHAB 2 pilight binding
22 * @author Niklas Dörfler - Port pilight binding to openHAB 3 + add device discovery
25 public class Identification {
27 public static final String ACTION_IDENTIFY = "identify";
29 private String action;
31 private Options options = new Options();
33 public Identification() {
34 this.action = ACTION_IDENTIFY;
37 public String getAction() {
41 public void setAction(String action) {
45 public Options getOptions() {
49 public void setOptions(Options options) {
50 this.options = options;