To find information about the Contact Sensor’s state and its time, access the Contact Sensor in the application.
This displays the Contact Sensor’s configuration screen. The Closed Since/Opened Since label displays the time since when the contact sensor is in a closed or opened state respectively.