A bit different validation needs to happen here (check if maintenance period is in place):
https://git.drupalcode.org/project/ohdear_integration/-/blob/2.x/src/Dru...
Active
2.0
Code