Instance of: Contact sensor

Window sensor

Connected

Name Status Battery Confirmed
Window sensor · Closed92%Unknown

Object & API

This synthetic object powers the controls above. Requests run in this browser.

Object schema · Explore in graph

GET /api/devices/demo-device-30

Current object state
{
  "schemaVersion": 1,
  "id": "demo-device-30",
  "name": "Window sensor",
  "status": "online",
  "health": {
    "status": "healthy",
    "detail": "Simulated device",
    "checkedAt": "2000-01-01T00:00:00.000Z"
  },
  "manufacturer": "Aqara",
  "model": "AS006",
  "capabilities": {
    "contactSensor": {
      "id": "demo-device-30",
      "state": {
        "availability": "online",
        "observedAt": "2000-01-01T00:00:00.000Z",
        "open": false,
        "batteryPercent": 92
      },
      "actions": {}
    }
  }
}

Capabilities & actions

contactSensor

Capability schema

Read-only capability; no controls are declared.