Blinds Control Logic?

I wrote the flow for controlling some doors - it should be just as applicable for blinds - you might have to edit the timer so it's 1% of the full opening/closing time