Lift vent 10kg heavy by 100mm

Thanks for all your comments. I ended up buying a linear actuator and have the project working!
It looks I didn't need the push switch as when actuator reaches the end it doesn't make any noise, so I kind of put a "just in case" code that turns it off after a few seconds (more than the time it takes to fully extend/retract the actuator).
Thanks again