ContactSensorInterfaceDetectionStateAttribute
HTTP API schema
Whether the contact sensor detects an opening. DETECTED means the sensor reports open (contact broken, for example an open door, window or garage door). NOT_DETECTED means it reports closed (contact made). This follows Alexa.ContactSensor and the SmartThings and Tuya mappings.
ContactSensorInterfaceDetectionStateAttribute fields
- value
stringRequired Allowed values
NOT_DETECTEDDETECTED