We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
As we already had an non working addon because of this I would like to add a Point to the docu.
Custom Background Task:
from modules import cbpi,
@cbpi.backgroundtask(key="my_task", interval=1) def my_custom_background_task(): # YOUR CODE GOES HERE pass
The line def my_custom_background_task(): should be changed in def my_custom_background_task(self):
The text was updated successfully, but these errors were encountered:
No branches or pull requests
As we already had an non working addon because of this I would like to add a Point to the docu.
Custom Background Task:
from modules import cbpi,
@cbpi.backgroundtask(key="my_task", interval=1)
def my_custom_background_task():
# YOUR CODE GOES HERE
pass
The line
def my_custom_background_task():
should be changed in
def my_custom_background_task(self):
The text was updated successfully, but these errors were encountered: