The part hanging down with the yellow & green wires is a thermostat, exactly like the type you get in your standard household fridge. The capillary tube is the other part that comes off if, a bit like a stretched out wire coat hangar, that's the part that senses the temperature. So it's some kind of temperature control set-up, maybe installed to override a faulty control in the air con or something ?