When trying to edit the settings for an action, Indigo throws this message in the event log:
Error (client) dialogForActionId() caught exception: PAXControlCreationError -- Controls must have a UNIQUE id attribute.
Here is the code from my Actions.xml file:
- Code: Select all
<Actions>
<Action id="changeVolume" uiPath="DeviceActions">
<Name>Audio Volume</Name>
<CallbackMethod>setVolume</CallbackMethod>
<ConfigUI>
<Field type="label">Set the volume</Field>
<Field type="separator"/>
<Field id="volume" type="textfield" defaultValue="-100">
<Label>Volume:</Label>
</Field>
</ConfigUI>
</Action>
</Actions>
The error seems to claim that my action ids are not unique.
According to the notes for the id attribute of Actions.xml here: http://www.perceptiveautomation.com/wik ... ugin_guide
This is a unique id for the event in this Actions.xml file.
Parsing through my code, the only action id seems to be changeVolume.
This leaves me unsure what the problem is. Any ideas?