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.enocean.internal.config;
15 import static org.openhab.binding.enocean.internal.EnOceanBindingConstants.EMPTYENOCEANID;
17 import java.util.ArrayList;
18 import java.util.List;
20 import org.eclipse.jdt.annotation.NonNullByDefault;
21 import org.openhab.core.util.HexUtils;
25 * @author Daniel Weber - Initial contribution
28 public class EnOceanBaseConfig {
30 * EnOceanId of the physical device
32 public String enoceanId;
35 * EEP used/send by physical device
37 public List<String> receivingEEPId = new ArrayList<>();
38 public boolean receivingSIGEEP = false;
40 public EnOceanBaseConfig() {
41 enoceanId = EMPTYENOCEANID;
44 public byte[] getEnOceanId() {
45 return HexUtils.hexToBytes(enoceanId);