Can I prevent motion activated light turning on during day time

So I have my Light in living room set to turn on when motion detected and turn off when motion is clear for 30min. Is there a way to prevent the light from turning on during say 6am-7pm even if there is motion?

Kind of a workaround but,

  1. create a shortcut to turn off motion detection for the desired camera and one to turn back on motion detection for same cam
  2. automate each shortcut to your desired time of day.
    Leaves you without motion detection for that time frame though. Not the best.

Won’t work for me. My light is connected to the motion sensor. I did try this for the motion sensor, but they can’t be turned off.