When setting the uiValue to be displayed as a custom device/s state, I would like to have an option to set the color value, and possibly a style for the uiValue text. This might be limited to a small set of predefined colors, or ;possibly an arbitrary RGB value. Style options might be bold or italic.
For example:
- Code: Select all
dev.updateStateOnServer(key='displayState', value="foobar", uiValue="foobar", uiValColor="orange", uiValStyle="bold)
or...
dev.updateStateOnServer(key='displayState', value="foobar", uiValue="foobar", uiValColor="ff9900", uiValStyle="italic)
- foobar vs foobar vs foobar