Configure -> Automation and Programs -> Devices and Things -> Philis Hue Bridge -> Edit -> tab Trigger Code
And replace the 5 for the number of lights you have in the following line:
Program.AddVirtualModules("HomeAutomation.PhilipsHue", "Dimmer", "homegenie/generic/colorlight", 1, 5)