mirror of
https://github.com/danieldemus/openhab-addons
synced 2026-07-29 12:34:21 +02:00
Fix: enocean binding - solve SenderIdOffset issue during teach-in (#20024)
Signed-off-by: pudermueller <c.mengler@web.de>
This commit is contained in:
+1
-4
@@ -348,10 +348,7 @@ public class EnOceanBridgeHandler extends ConfigStatusBridgeHandler implements T
|
||||
public @Nullable Integer getNextSenderId(String enoceanId) {
|
||||
EnOceanBridgeConfig config = getConfigAs(EnOceanBridgeConfig.class);
|
||||
Integer senderId = config.nextSenderId;
|
||||
if (senderId == null) {
|
||||
return null;
|
||||
}
|
||||
if (sendingThings[senderId] == null) {
|
||||
if (senderId != null && sendingThings[senderId] == null) {
|
||||
Configuration c = this.editConfiguration();
|
||||
c.put(PARAMETER_NEXT_SENDERID, null);
|
||||
updateConfiguration(c);
|
||||
|
||||
Reference in New Issue
Block a user