Hacker News new | ask | show | jobs
by BrandoElFollito 2039 days ago
OK, following up on my last comment - pyscript is teh way to go. One can import anything and the functions are very light, decorated etc.

It looks like a very good solution for more complicated automation (and for simple ones as well, it is just two lines)

1 comments

Exactly, that's what I like about pyscript: it is a great alternative for simple YAML automations, but it also allows for complex logic that would be impossible or very cumbersome with YAML.