- Code: Select all
<Action id="zone1powerOn" deviceFilter="self.vsx1021k,self.vsx1122k">
<Name>Power On (Zone 1)</Name>
<CallbackMethod>zone1powerOn</CallbackMethod>
</Action>
That doesn't work, however (using Indigo 5.1.6). While loading the plugin returns no errors, when that action is selected in an Indigo action, only the "vsx1122k" device type is listed in the Device menu. If it's not possible to AND multiple deviceTypeId values, is it possible to negate a specific deviceTypeId from the list? Is it possible to use a custom callback function so the plugin generates the list of devices rather than relying on Indigo to do that?