From 998cffd3d1ed58262573c7e1e5192c53fe2316a0 Mon Sep 17 00:00:00 2001 From: Duco Sebel <74970928+DCSBL@users.noreply.github.com> Date: Wed, 15 Jan 2025 11:32:20 +0100 Subject: [PATCH] Use correct example for authorization_requested --- docs/v2/websocket.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/v2/websocket.mdx b/docs/v2/websocket.mdx index aaa72a7..2447fbc 100644 --- a/docs/v2/websocket.mdx +++ b/docs/v2/websocket.mdx @@ -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"