diff --git a/bundles/org.openhab.binding.http/src/main/java/org/openhab/binding/http/internal/converter/ColorItemConverter.java b/bundles/org.openhab.binding.http/src/main/java/org/openhab/binding/http/internal/converter/ColorItemConverter.java index 2d53a7817..be1b1d58a 100644 --- a/bundles/org.openhab.binding.http/src/main/java/org/openhab/binding/http/internal/converter/ColorItemConverter.java +++ b/bundles/org.openhab.binding.http/src/main/java/org/openhab/binding/http/internal/converter/ColorItemConverter.java @@ -64,7 +64,7 @@ public class ColorItemConverter extends AbstractTransformingItemConverter { state = newState; return hsbToString(newState); } else if (command instanceof PercentType percentCommand && state instanceof HSBType hsb) { - HSBType newState = new HSBType(hsb.getBrightness(), hsb.getSaturation(), percentCommand); + HSBType newState = new HSBType(hsb.getHue(), hsb.getSaturation(), percentCommand); state = newState; return hsbToString(newState); }