I automated temperature regulation and on off functionality in my thinq compatible Air Conditioner using third party API named wideq(https://github.com/sampsyo/wideq) by Adrian Sampsyo(https://github.com/sampsyo)
First Step:
pip install wideq
Second Step:
python3 config_ac.py