It’s a main requirement now to use photocell automatic systems from stores to hospitals.
They were some expensive in history but today it’s possible to find cheap radar systems. So they are using mostly for automation systems.
Problems like “forgotten open door” are causing a lot of waste of hot or cold air escaping from inside. Photocell systems are the solution for it.