From cb379816029037330866391ba1b2521cdd8e85ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A6rkeren?= <164513459+Faerkeren@users.noreply.github.com> Date: Wed, 27 May 2026 18:22:15 -0100 Subject: [PATCH] docs: correct request_timeout default in README (#93) The README documented `request_timeout` default as 10s, but the actual default across all public construction paths (ConnectionConfig, ConnectionConfig.from_url, HAClient.from_url, SyncHAClient.from_url) is 30s. Update the README to match the code. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4887953..aca97ef 100644 --- a/README.md +++ b/README.md @@ -86,7 +86,7 @@ Create a client with `HAClient.from_url()` or by passing a `ConnectionConfig` di - **`token`** -- Long-lived access token generated from the Home Assistant UI - **`reconnect`** -- Enable automatic WebSocket reconnection (default: `True`) - **`ping_interval`** -- WebSocket keepalive interval in seconds (default: `30`) -- **`request_timeout`** -- Timeout for REST and WS commands in seconds (default: `10`) +- **`request_timeout`** -- Timeout for REST and WS commands in seconds (default: `30`) - **`verify_ssl`** -- Verify SSL certificates (default: `True`) - **`service_policy`** -- Service call routing: `"ws"`, `"rest"`, or `"auto"` (default: `"auto"`)