Does anybody have an example how to create flows programmatically?
It would be nice to have something like:
- Create flow with a trigger from an App (so I can specify the trigger and an App to use trigger from)
- Add conditions (like states from other Apps / devices).
- Add actions (change device state / set state for an App / execute an action for a chosen App).
So the goal is to script everything that flow editor allows you to do.