diff --git a/bundles/org.openhab.binding.dwdunwetter/src/main/java/org/openhab/binding/dwdunwetter/internal/handler/DwdUnwetterHandler.java b/bundles/org.openhab.binding.dwdunwetter/src/main/java/org/openhab/binding/dwdunwetter/internal/handler/DwdUnwetterHandler.java index d271fc8c3..b85448c8c 100644 --- a/bundles/org.openhab.binding.dwdunwetter/src/main/java/org/openhab/binding/dwdunwetter/internal/handler/DwdUnwetterHandler.java +++ b/bundles/org.openhab.binding.dwdunwetter/src/main/java/org/openhab/binding/dwdunwetter/internal/handler/DwdUnwetterHandler.java @@ -169,7 +169,7 @@ public class DwdUnwetterHandler extends BaseThingHandler { } private ChannelUID getChannelUuid(String typeId, int warningNumber) { - return new ChannelUID(getThing().getUID(), typeId + (warningNumber + 1)); + return new ChannelUID(getThing().getUID(), typeId + warningNumber); } private ChannelUID getChannelUuid(String typeId) { @@ -193,7 +193,7 @@ public class DwdUnwetterHandler extends BaseThingHandler { } private String getChannelLabelSuffix(int warningNumber) { - return "(" + (warningNumber + 1) + ")"; + return "(" + warningNumber + ")"; } /**