No joke. Assault is assault.
Turning a heat lamp on is not assault. In the winter it would have been requested.
The same goes for turning on sprinklers when trespassers are trampling your lawn (which has been demonstrated to be an effective and legal protest deterrent).