diff --git a/bundles/org.openhab.binding.enocean/src/main/java/org/openhab/binding/enocean/internal/eep/D2_06/D2_06_50.java b/bundles/org.openhab.binding.enocean/src/main/java/org/openhab/binding/enocean/internal/eep/D2_06/D2_06_50.java index 8e962ae64381e..896ab3e080841 100644 --- a/bundles/org.openhab.binding.enocean/src/main/java/org/openhab/binding/enocean/internal/eep/D2_06/D2_06_50.java +++ b/bundles/org.openhab.binding.enocean/src/main/java/org/openhab/binding/enocean/internal/eep/D2_06/D2_06_50.java @@ -69,7 +69,7 @@ protected State getWindowHandleState() { } protected State getCalibrationState() { - int calibrationState = bytes[1] >>> 6; + int calibrationState = bytes[2] >>> 6; if (calibrationState == 0x00) { return new StringType("OK"); } else if (calibrationState == 0x01) {