How to avoid gesture light activation during nighttime?

When I'm wearing my Fenix 5S Plus during nighttime the light activates when the gesture is detected.

I would like to add a function which blocks the detection of light gesture during nighttime (which is saved in my userdata) so the light would not activate when I#m turning around in bed.

I don't want to use the DND funktion, because I use "Sleep as android" during nighttime.

Any suggestions?