- Code: Select all
...
<ConfigUI>
<Field id="rgbColor" type="colorpicker" defaultValue="=">
<Label>Color:</Label>
<CallbackMethod>rgbColorPickerUpdated</CallbackMethod>
</Field>
</ConfigUI>
...
I can force it by setting the raw value (FF FF 00) using valuesDict in getDeviceConfigUiValues() , but I can't seem to find a format to set it using 'defaultValue' within Devices.xml.