Skip to content

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

valuestringRequired

Allowed values

  • NOT_DETECTED
  • DETECTED
View source specification ↗