Mycodo icon indicating copy to clipboard operation
Mycodo copied to clipboard

Add a method definition section in the Conditional Controller

Open lalebarde opened this issue 1 year ago • 1 comments

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.

lalebarde avatar Jul 23 '23 08:07 lalebarde

This would be a nice addition. I'll see about adding it. Thanks.

kizniche avatar Aug 11 '23 03:08 kizniche