The ammonium/nitrate ratio is an input signal in the temperature-modulated, SNC1-mediated and EDS1-dependent autoimmunity of nudt6-2 nudt7.