Replies: 1 comment
-
|
I've started working on the examples structure long ago, but I have no energy to finish it :( |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I very much appreciate the pyscript documentation and the effort that went into it, but I guess there's always more that would be useful.
In particular, the decorators doc (@time_trigger(), @state_trigger(), @time_active() etc...) would greatly benefit from a whole bunch of syntax examples, particularly including the more advanced uses.
For example, I was trying to put two timespecs in a @time_trigger() like this: @time_trigger("once(sunrise + 30min), once(00:00:00)") and it reported a syntax error. I didn't know that you have to quote each timespec separately: @time_trigger("once(00:00:00)", "once(sunrise + 30min)"). A couple of good examples would have made this obvious.
Beta Was this translation helpful? Give feedback.
All reactions