Automation to change sensitivity

I have camera’s at my mothers for her bird feeders, however if I lower the motion sensitivity to not be triggered by every single bird, it picked up the black bear “late”… I would like to change the sensitivity during the day and then to a new value at night.