Allow timeframes for passage doors

It would be great to allow timeframes for passage. For instance, we have an inside door that we would like to allow passage during work hours but not at night and on weekends.

I change it manually now which is not optimal.