-
Hi. I have been using @dlashua 's "alert" script at the wiki page as my basic method(I have learned very many new things by these scripts. Thanks mate). Could be, it would have been an better road to use class objects. (input are welcome) ATM: Everything works fine except my two time triggers. my app is structured like this: imports ,config schema,etc At the end of the script im using the helpers: Any ideas where to put the timetriggers and code, to get this working properly? Looking forward to hear from you. code example: def make_energycontroller(config):
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi again. Now i need to look for bugs and clean up the code, before I add new heatsources to the config.yaml. Happy Easter |
Beta Was this translation helpful? Give feedback.
Hi again.
I figured it out.
It was my own fault for not reading the documentation, good enough.
I found the section about "Trigger Closures".
Reading that and some testing was all I needed to understand and find my own fault.
Now i need to look for bugs and clean up the code, before I add new heatsources to the config.yaml.
Crossing fingers for no more big issues on this one. ;)
Happy Easter