Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,15 @@ try:
except zwave_js_server.client.FailedCommand as err:
print("Command failed with", err.error_code)
```

## Access control

Schema 48 adds typed access-control helpers exposed via the `AccessControlAPI`
wrapper:

- `node.access_control`: shortcut for the root endpoint API.
- `endpoint.access_control`: API for a specific endpoint.
- Call `await endpoint.access_control.is_supported()` before using other
methods.
- Credential payloads accept `str | bytes`; binary credentials are converted to
the websocket Buffer transport shape internally.
2 changes: 1 addition & 1 deletion test/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ def version_data_fixture() -> dict[str, Any]:
"serverVersion": "test_server_version",
"homeId": "test_home_id",
"minSchemaVersion": 0,
"maxSchemaVersion": 47,
"maxSchemaVersion": 48,
}


Expand Down
Loading