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 2d53a7817b412..be1b1d58a5bd4 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 String toString(Command command) { 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); }