The air conditioner changes temperature constantly without reason
Possible causes

The thermostat is malfunctioning
The wiring is faulty
There is a gas leak
The compressor is failing