Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

local function clearTask() should be global #15

Open
akbooer opened this issue Aug 15, 2015 · 3 comments
Open

local function clearTask() should be global #15

akbooer opened this issue Aug 15, 2015 · 3 comments

Comments

@akbooer
Copy link

akbooer commented Aug 15, 2015

In a task error condition, this statement is executed:
luup.call_delay("clearTask", 15, "", false)

...but fails since the "clearTask" function scope is local, not global.

Solution: remove the 'local' in the function declaration!

@henrikekblad
Copy link
Member

Ok!

Guess you'll find more stuff when testing through your simulator. Will you create a PR against master when you're done?

@akbooer
Copy link
Author

akbooer commented Aug 18, 2015

Yes - happy to do that. There are a couple of other small things, but I want to do some real testing and that will have to wait (not too long) for me to build at least one real sensor.

@henrikekblad
Copy link
Member

Hehe.. yeah, let me know if you need help with the sensor-building.. I will try to keep updated your forum thread on the vera-forum.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants