I can run a thing action fine when I do it from within the body of a rule. But, when I try to run a thing action from inside a module (e.g. in
automation/lib/python/personal/somemodule.py), I get an error. Is there something I need to import, or is it more complicated than that?
mailActions = actions.get("mail", "mail:smtp:somemailserver") AttributeError: 'module' object has no attribute 'get'