Hi,
Im here again with another question
for my custom device I am having custom status as below.
<States>
<State id="playStatus">
<ValueType>
<List>
<Option value="not_playing">Not Playing</Option>
<Option value="playing">Playing</Option>
</List>
</ValueType>
----
</State>
<States>
Since we can't have spaces in option value, I have added the "_". When plugin detects status change I update using
device.updateStateOnServer("playStatus", "not_playing"). Then plugin works fine, but in custom states of that device , value shows as "not_playing" with underscore. In Indigo Touch also it shows as the same way. I don't like it much. How can I get "Not Playing" rather than showing "not_playing".
device.updateStateOnServer("playStatus", "Not Playing") gives "invalid enumeration value" Error.