Hello,
I wrote for my personal use a python script to control binary sensors, switches and covers over MQTT discovery with the Unipi Neuron. I publish my code for everyone on GitHub.
I can detect if a button is pressed (binary sensors) and than control the cover.
For the cover control with the binary sensor i wrote a automation blueprint (you can find it in the extras folder in the GitHub project)
For easy install i make a python package than can be found on pypi.