Thermostat temperature correction

So I have a few split ac around the home, all controlled by broadlink devices using cybmage (withdrawn) implementation.

What I'm wondering is a way to correct the infrared command sent to the split system to adjust to the room temperature error.

So in other words, if the temperature has been around 20 degrees in the room (room temp sensor) for greater than say half an hour, and the ir command sent to the ac unit was 22 degrees, then send a 24 degree ir command. But preferably still show 22 as the target on the tile...

What I'm thinking is to have a virtual thermostat that I set for the target temp. Then in the background have that tile update my ac thermostat device adjusted for the error (so if my tile temp is 22, room temp is 20, then change my ac thermostat device to 24 degrees)..

Or am I over complicating the solution ?

I'm also wondering it's not worth the efforts of abive solution as it needs a bit of thought into how to determine when the room temp has stabilised to then make the adjustments.. As the error will be great while the ac is getting the room up or down to temp so don't want any adjustment then.. Perhaps a moving average of the error over an hour.

I would think you would use a virtual thermostat and then use offsets...(I may be wrong as I've not gotten into really controlling the temp with that much minutia)