Activity History in Your Home
Apple Home users who have upgraded to the new home architecture introduced in iOS 16.4 will be able to see a log of when HomeKit-enabled locks and garage doors have been opened and closed — and by whom — and when other security sensors have been tripped.
Activity History can be enabled in the Home app under Safety & Security in the home settings. For now, your only options are to leave it off or set it to one month. Other intervals may appear when iOS 17 is released.
The Activity History is a bit trickier to find; once enabled, you’ll need to tap the “Security” tab at the top of the main Home screen. This will show a “Home Activity” button you can tap on to see the detailed log.