Advice on setting up sensor switch
For combinational logic we usually use a truth table. Where timing is involved we use a timing diagram and try to show all the cases in the diagram.
               __                   __
sensor      __|  |_________________|  |_____________________________________
                                                              __________
over-temp   _________________________________________________|          |___
                                 _____________________        __________
compressor  ____________________|                     |______|          |___
               __________           __________________        __________
machine     __| &lt; 60 s &gt; |_________|                  |______|          |___

Figure 1. Timing diagram.
If this is what you require then please copy it into your question and format it as 'code' using the {} button and make any corrections you need to.

Your question omits details on what turns on the compressor.
What's different between your manual switch and the over-temperature switch? Do they do always do the same thing? (If so then make that clear because it simplifies things.)




simulate this circuit &ndash; Schematic created using CircuitLab
Figure 1. A simple solution for the information given. Note that '????' represents whatever turns on the compressor.
Dual switch contacts are required on some of the switches to avoid back-feed from one circuit to the other. If dual contacts aren't available add a relay to &quot;repeat&quot; the signal.