Having done a bit of nighttime beekeeping, noted they do bomb the flashlight.
I have a couple of options. Leave the lot dark. Or hang a solar light about 5 ft up at whatever distance from the hive, so if I have to go out there at 5:30 am, there is some light, no flashlight. Frees my hands.