HABDroid VoiceCommand please help?

Try it this way:

rule "VoiceControl" 

when 
    Item VoiceCommand received command
then 
    val txt = receivedCommand.toString.toLowerCase
    logInfo("Voice.Rec","VoiceCommand received "+txt)
		if (txt.contains("on") {
			Light_C_Staircase.sendCommand(ON)
		else if(txt.contains("off")) 
			Light_C_Staircase.sendCommand(OFF)
		}
end