I am not a plumber but I would say they are thermostatic controls. Depending what pipes they are attached to they could be controlling zones of you heating system so one area shuts off before another, or one could be controlling your hot water boiler and another your heating system.