From 4e860a4dff1220e9698ec3e959b53dcca5a48809 Mon Sep 17 00:00:00 2001 From: Ron van der Plas Date: Mon, 8 Dec 2025 10:15:48 +0100 Subject: [PATCH 1/2] Clarify permissions documentation --- docs/v2/batteries.mdx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/v2/batteries.mdx b/docs/v2/batteries.mdx index ef9c1ec..0ee24fe 100644 --- a/docs/v2/batteries.mdx +++ b/docs/v2/batteries.mdx @@ -57,7 +57,8 @@ Mode `standby` is exactly the same as mode `zero` with both charging and dischar - When switching to `standby` mode, the `permissions` field will be set to an empty array `[]`. - When adding a permission to the `permissions` field while in `standby` mode, the mode will automatically switch to `zero`. -- `zero` mode with both permissions allowed is the same as the default `zero` mode. +- `zero` mode with both permissions **allowed** is the same as the default `zero` mode. +- `zero` mode with both permissions **disallowed** is the same as `standby` mode, therefore mode will automatically switch to `standby`. ## Examples From c97bc497714dd3e1d2b1751c37a8f8dffe7e2644 Mon Sep 17 00:00:00 2001 From: Ron van der Plas Date: Mon, 8 Dec 2025 10:23:35 +0100 Subject: [PATCH 2/2] Formatting --- docs/v2/batteries.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/v2/batteries.mdx b/docs/v2/batteries.mdx index 0ee24fe..0d81520 100644 --- a/docs/v2/batteries.mdx +++ b/docs/v2/batteries.mdx @@ -58,7 +58,7 @@ Mode `standby` is exactly the same as mode `zero` with both charging and dischar - When switching to `standby` mode, the `permissions` field will be set to an empty array `[]`. - When adding a permission to the `permissions` field while in `standby` mode, the mode will automatically switch to `zero`. - `zero` mode with both permissions **allowed** is the same as the default `zero` mode. -- `zero` mode with both permissions **disallowed** is the same as `standby` mode, therefore mode will automatically switch to `standby`. +- `zero` mode with both permissions **disallowed** is the same as `standby` mode, therefore mode will automatically switch to `standby`. ## Examples