Edit and move it. It doesn’t make sense to have two identical topics.
I just think that it is just impossible.
Even a Unix executable is not able to delete itself as when the executable runs, the executable file is “in use”. You might be able to do it in a low level programming environment like assembler, using a few special tricks, like loading the program permanent in memory, decoupling the program code in memory from the executable, doing all kinds of crazy things at the operating system level.
So you need another program/flow to delete the program/flow.
Nice to hit the test button just before you realize it wasn’t perfect…
And then you create the flow again.
They are not identical. I posted in this category first (as a question), since I didn’t know if what I was looking for existed. When I was told it did not I marked this thread as “Solved” and started a new thread under “Suggestions and Ideas” to let the devs know that there is a need for a new function in Homey.
But OK, next time I have an idea for a function in Homey that I have not found I will not post in “Questions and help” to see if it exists…I’ll post directly in “Suggestions and Ideas”.
Renamed and moved.
Thank you.
I would have preferred that you deleted this thread and unlocked the one I started named “Disposable flow, run once and then ”self destruct”” instead, since that was the request post…this thread just spiralled out of control with a lot of irrelevant stuff.