Closed lukicsl closed 5 years ago
Thank yiu for reporting this, but it is not an issue with the Jython helper libraries. I've commented in the forum with a solution...
https://community.openhab.org/t/global-name-events-is-not-defined-in-script/74554/9?u=5iver
Bug Description When a rule call function A in a custom module, function A sets up a Timer with a function B of the same custom module, function B accesses scope, an exception is thrown "No JSR223 scope is available"
To Reproduce custom module
rule (empty, good enough for run once)
Expected behavior no exception is thrown
log
Environment (please complete the following information):