This is a simple case for the Jarvis Standing desk PCB by phord on GitHub. This allows you to control your desk over HA.
Repo for PCB: https://github.com/phord/Jarvis/tree/master/Circuits/WeMos_D1_Mini_v2
The author marked this model as their own original creation.