Skip to content
Merged
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
2 changes: 1 addition & 1 deletion docs/v2/websocket.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ The HomeWizard Energy WebSocket API allows you to receive real-time updates from
All data packages, in both directions, are formatted in JSON and contain a `type` field and an optional `data` field. The data type can be any valid JSON format.

```json title="Example: Authorization request from device"
{ "type": "authentication_requested", "data": { "api_version": "2.0.0" } }
{ "type": "authorization_requested", "data": { "api_version": "2.0.0" } }
```

```json title="Example: Subscribe to device information"
Expand Down
Loading