mfucci / node-matter

Matter protocol client / server for node.js
Apache License 2.0
119 stars 10 forks source link

Return correct status for unsupported Attributes #263

Closed Apollon77 closed 1 year ago

Apollon77 commented 1 year ago

This PR implements a correct response when reading unknown attributes by introducing the use of the "attributeStatus" field in DataReport structure. For now only UnknownAttribute is returned, other cases are still Todo.

The PR relies on merging https://github.com/project-chip/matter.js/pull/50 and releasing a new version of matter.js

This fix should unblock Smartthings and HomeAssistant commissioning