Capability.ColorControl Weird Error


(Kristopher Kubicki) #1

Is anyone getting this issue with capability.ColorControl?

preferences {
section("Control these bulbs...") {
	input "bulbs", "capability.colorControl", title: "Which Hue Bulbs?", required:true, multiple:true
}

Yields this error in the simulator:

    grails.validation.ValidationException: Validation Error(s) occurred during save():
- Field error in object 'physicalgraph.device.Device' on field 'name': rejected value [null]; codes [physicalgraph.device.Device.name.nullable.error.physicalgraph.device.Device.name,physicalgraph.device.Device.name.nullable.error.name,physicalgraph.device.Device.name.nullable.error.java.lang.String,physicalgraph.device.Device.name.nullable.error,device.name.nullable.error.physicalgraph.device.Device.name,device.name.nullable.error.name,device.name.nullable.error.java.lang.String,device.name.nullable.error,physicalgraph.device.Device.name.nullable.physicalgraph.device.Device.name,physicalgraph.device.Device.name.nullable.name,physicalgraph.device.Device.name.nullable.java.lang.String,physicalgraph.device.Device.name.nullable,device.name.nullable.physicalgraph.device.Device.name,device.name.nullable.name,device.name.nullable.java.lang.String,device.name.nullable,nullable.physicalgraph.device.Device.name,nullable.name,nullable.java.lang.String,nullable]; arguments [name,class physicalgraph.device.Device]; default message [{0} cannot be null]

I am not sure why this is happening, but I know its happening due to the colorControl line


"Field Error" in SmartApp
(Kristopher Kubicki) #2

Hmm - Apparently this is just limited to using the Simulator if anyone has further questions. No wonder dev on Hue is so far behind :stuck_out_tongue: