When is the "random" filter evaluated in the Configuration file?

If I want to randomize the turning on/off of lights with:

trigger:
platform: time
at: “22:{{range(11,55)|random}}:00”

Is the random evaluated once when the configuration file is cached or is the random regenerated every time it is scanned for triggers in HA?