---
title: "writeAttributeDoorOpenEvents(withValue:expectedValueInterval:params:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrclusterdoorlock/writeattributedooropenevents(withvalue:expectedvalueinterval:params:)"
---

# writeAttributeDoorOpenEvents(withValue:expectedValueInterval:params:)

## Declaration

```swift
func writeAttributeDoorOpenEvents(withValue dataValueDictionary: [String : Any], expectedValueInterval expectedValueIntervalMs: NSNumber, params: MTRWriteParams?)
```
