Idea for automated HalfBath

Trying to automate my halfbath so that it turns on/off the lights & fan (both are now on one GE switch) automatically.
Would you recommend using only one open/close door sensor or one motion sensor or 1 of each to achieve this?

It depends. Do you leave the door open when the bathroom is not in use?

No, It stays closed when not in use.
Currently using following logic but just trying to brainstorm to make it perfect. Maybe one open/close & one motion sensor will it make it perfect.