ERROR, weird behavior in light stepping rule

sometimes the rule works and sometimes not!

and the name ´unkown´ what the hell is that, dont have it in the project

openhab 1.8.1

[ERROR] [o.o.c.s.ScriptExecutionThread ] - Error during the execution of rule ‘HueSovaTimer’: The name ‘unkown’ cannot be resolved to an item or type.

Switch  HueSova

var boolean cancelHUEs = false

rule "HueSovaTimer"
when
	Item HueSova received command ON
then
	sendCommand(hue1color,HSBType::RED)
	sendCommand(hue2color,HSBType::RED)
	sendCommand(hue1bright,100)
	sendCommand(hue2bright,100)
		
	var int bright = 100
 	
 	while(bright > 0 && !cancelHUEs){
        hue1bright.sendCommand(bright)
        hue2bright.sendCommand(bright)
        bright = bright - 5
        Thread::sleep(5000)
   	}	    
    cancelHUEs = false
end

Double check that all the items you reference, (hue1color, hue1color, …) are identical in your .items file and the rule, including case.

Load the rule in Designer (version 0.8) to check for any syntax errors.

The “unknown” usually means you are referencing an item that didn’t exist.