Mycodo
Mycodo copied to clipboard
Add a method definition section in the Conditional Controller
We have now in the conditional controllers (cf here):
- python import section
- initialization section
- run periodic code section
- return dictionnary section
I miss an additional methods section.
I am going to try a forward class declaration and add my methods in the import section and will tell you if it works, but it would be nice to have a methods section.
This would be a nice addition. I'll see about adding it. Thanks.