The API 1.11 release notes say, "If the plugin does not define the actionControlGeneral callback, then device status request actions will continue to be dispatched to the device specific callbacks." That doesn't seem to work with cyin; It looks like Indigo gets confused because my Plugin (base) class contains a __getattr__ method. Do you by any chance call getattr() to check for presence of actionControlGeneral? Getattr() will always "find" any name in a class that has __getattr__. A better check might be
- Code: Select all
'actionControlGeneral' in dir(plugin)
Cheers
-- perry