Bug? In custom triggers

This is a legacy forum which is locked for new topics. New topics should be started in one of the other forums under Extending Indigo
Forum rules
This is a legacy forum which is locked for new topics. New topics should be started in one of the other forums under Extending Indigo
User avatar
berkinet
Posts: 3441
Joined: Tue Nov 18, 2008 2:08 pm
Location: Berkeley, CA, USA & Mougins, France

Bug? In custom triggers

Post by berkinet »

I have found that I cannot disable the custom trigger in the Group Triggers plugin I am working on. Even if the trigger is disabled, it continues to perform its actions. Is this the way it should work?
User avatar
jay (support)
Site Admin
Posts: 19232
Joined: Wed Mar 19, 2008 11:52 am
Location: Austin, Texas
Contact:

Re: Bug? In custom triggers

Post by jay (support) »

When a plugin trigger gets disabled, your plugin will have the triggerStopProcessing() method called (check out the description in the method table in the plugin.py section of the docs). It's up to you to actually disable the functionality. Indigo can't do it for you because it doesn't know what to do...
Jay (Indigo Support)
Twitter | Facebook | LinkedIn
User avatar
berkinet
Posts: 3441
Joined: Tue Nov 18, 2008 2:08 pm
Location: Berkeley, CA, USA & Mougins, France

Re: Bug? In custom triggers

Post by berkinet »

That makes sense :oops: Thanks
Locked

Return to “Extending Indigo with Plugins and Python”