Are you the disabled person using these automatic door buttons? If not, have you asked someone with a mobility-related disability what they think of it?
It’s absolutely possible for laws around accommodations to be stupid. Once again, that’s the medical model, when able-bodied people write policy for disabled people, there are stupid outcomes. The social model says that there should always be a person with a relevant disability involved with designing accommodations unless it’s absolutely impossible to do. The saying commonly used in the community is “nothing about us without us.”
So perhaps your implementation sucks, but if it does, there’s a good chance it’s because of the medical model.