Dont do it try HABApp with python 3
https://community.openhab.org/t/habapp-easy-automation-with-openhab/59669