I found my thermostat not working. After googling for a solution, I found that I may need to check my emergency cut-off.
I know of a pipe that if tripped will turn-off the A/C, so I took the pipe cleaner did some plunging and attempted to clear it out. After doing so, the thermostat turned back on and my system started working again.
Did I do the right thing? What kind of maintenance could I do at home to avoid this cut-off?
I'm a novice at HVAC, I can identify only the heat pump and thermostat!

Included photo of pipe in question.