This, hopefully simple, feature might possibly be accomplished by adding a few keywords to the icon selection table (bottom of the API v1.11 release notes). Something like onnp, offnp, activenp, inactivenp, etc. (where np might mean no print). Or, perhaps an option to updateStateOnServer() like:
- device.updateStateOnServer(key='state', value=0 displayData=False)
This feature would allow visual state display without the, often meaningless, associated data. For example, a plugin might alternately turn on and off a green dot each time a power sensor pulsed. Or, a simple red or green dot might signify the state of a lock. I can do the pulse now, but it ends up displaying a 1 or 0 (or true or false) along with the gray/green dot.
Thanks for considering this.
EDIT: BTW, I tried using uiValue to quash the display, but it didn't work. Oddly, with value=1, uiValue=' ', I get no display at all. value=0, uiValue=' ' displays the gray dot, and the 0. I also tried None and '' (the empty string) as values for uiValue, but they were all simply ignored. All of this is on Indigo 6.0.2