Looking for right component in my simple diagram
The controller output can provide UP TO 400 mA, but any load will only take the current it requires.  The controller does not force 400 mA through the load.

You can safely use any relay with a 24 volt coil, providing the relay coil draws less than 400 mA.