HUE fadingLightCommand

Hello,

i fowollow the instruction from HUE binding https://www.openhab.org/addons/bindings/hue/ but for me the new

fadingLightCommand

didn’t work.

RULE:

	when
		Item Hue_Fade_test changed
	then
		if (Hue_Fade_test.state == ON)
		{
			logInfo("FILE", "HUUUUEEEE FAAADDEEE")
			val hueActions = getActions("hue","hue:0200:001788175d47:1")
			hueActions.fadingLightCommand("color", new PercentType(100), new DecimalType(100))
		}
end

The Light turn on but it didn’t change the colour if i start this rule.

Does i forget something?

So the new PercentType in your case is probably used as brightness, use other value e.g. 10 and you will see.
To change color of the hue light use this:

hueActions.fadingLightCommand("color", new HSBType("12,100,60"), new DecimalType(1000))