- Code: Select all
<State id="direction">
<ValueType>
<List>
<Option value="forward">Forward (testing)</Option>
<Option value="reverse">Reverse (also testing)</Option>
</List>
</ValueType>
<TriggerLabel>Direction testing as well</TriggerLabel>
<ControlPageLabel>Direction</ControlPageLabel>
</State>
When I go into Indigo (just installed 7.2) and go to define a trigger for this device I now see not only the Direction as a trigger I can select, but the Forward and Reverse options as well:
Whether I select Direction as a trigger or Forward/Reverse they all appear to be triggered when my plugin invokes dev.updateStateOnServer('direction', ...). no matter the value I update it to. Is this expected behavior? It seems confusing to me to have three separate triggers based upon the above state definition.
-Bruce