Fix: enocean binding - solve SenderIdOffset issue during teach-in (#20024)

Signed-off-by: pudermueller <c.mengler@web.de>
This commit is contained in:
pudermueller
2026-01-15 09:35:32 +01:00
committed by GitHub
parent 05f85336e6
commit 314dabf9bd
@@ -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);