Automation: Security Modes settings triggered by "Familiar Face", how to?

How can I set the following automation?

  1. When my eufy camera respectively my eufy HomeBase 3 (with BionicMind AI) detects a “Familiar Face” the security settings should be set to “Home” instead of “Away”. This means that the Camera Alarm would be turned off.
  2. If my eufy camea respectively my eufy HomeBase 3 (with BionicMind AI) does not detect a “Familar Face” for e.g. 2 hours, the security settings should be set to “Away” instead of “Home”. This means that the Camera Alarm would be turned on.

This would be very helpful as Geofencing is not very accurate in my case. Other brands like Netatmo Security cameras are providing the described feature.