Solution:
Method 1: Open the Camera page in the Mi Home APP, tap the "…" button in the top right corner and select "Home surveillance assistant" to enable it and modify its settings.
Method 2: Open the Camera page in the Mi Home APP, tap "Home surveillance" on the bottom left corner of the menu bar and tap "Home surveillance assistant" to enable it and modify its settings.
Does it help?