Agreed. I think it would be best to have this as a setting, like “Enable auto light when printing”, since some people might want to only control the light manually, and would be annoyed if the printer turned it off by itself.
It would also be nice if there was an adjustable timeout for turning it off after a print was finished. You might want to let it stay on for a time period, and then turn off.