I think you are right... the best would be cut off power when temperature reach 25 and restart when it’s 27 (example). Wonder does it waste more electricity this way....
Just trying to play around with all the possibility to see how much automation can be achieved.
I will set my A/C to cut off after a certain temperature is sustained for a period e.g. about 25 for 30mins and turn on the fan. Using openhab, the historical readings can be logged to database such as influxdb and you can tune your parameters accordingly.