I use http://getmysa.com for this. they have their own app and scheduling, but i just automate mine via homeassistant

This doesn't look like it can control the AC unit via infrared. How did you solve that part?

They have a version for mini-splits that is an ir blaster.