diff --git a/bundles/org.openhab.binding.wled/src/main/java/org/openhab/binding/wled/internal/api/WledApiV084.java b/bundles/org.openhab.binding.wled/src/main/java/org/openhab/binding/wled/internal/api/WledApiV084.java index bd6d00ddef79..2053928e6782 100644 --- a/bundles/org.openhab.binding.wled/src/main/java/org/openhab/binding/wled/internal/api/WledApiV084.java +++ b/bundles/org.openhab.binding.wled/src/main/java/org/openhab/binding/wled/internal/api/WledApiV084.java @@ -264,7 +264,6 @@ protected void processState() throws ApiException { } HSBType tempHSB = WLedHelper .parseToHSBType(state.stateResponse.seg[handler.config.segmentIndex].col[0].toString()); - handler.update(CHANNEL_MASTER_CONTROLS, tempHSB); handler.update(CHANNEL_PRIMARY_COLOR, tempHSB); handler.update(CHANNEL_SECONDARY_COLOR, WLedHelper.parseToHSBType(state.stateResponse.seg[handler.config.segmentIndex].col[1].toString())); @@ -283,6 +282,7 @@ protected void processState() throws ApiException { handler.update(CHANNEL_MASTER_CONTROLS, OnOffType.OFF); handler.update(CHANNEL_SEGMENT_BRIGHTNESS, OnOffType.OFF); } else { + handler.update(CHANNEL_MASTER_CONTROLS, tempHSB); handler.update(CHANNEL_SEGMENT_BRIGHTNESS, new PercentType(new BigDecimal(state.stateResponse.seg[handler.config.segmentIndex].bri) .divide(BIG_DECIMAL_2_55, RoundingMode.HALF_UP)));