Skip to content

Commit 218e24f

Browse files
authored
Mqtt: allow nil/null/none/- as empty values #666 (#730)
1 parent 19a2600 commit 218e24f

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
lines changed

docs/integrations/mqtt-api.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,3 +69,18 @@ Beispiele:
6969

7070
`2023-08-17T19:30:00Z` = 17. August 2023 um 21:30 Uhr MESZ
7171
:::
72+
73+
:::note
74+
\*\* Unterstützung leerer Werte:
75+
Folgende Zeichenfolgen werden als leere Werte erkannt:
76+
- `nil`
77+
- `null`
78+
- `none`
79+
- `-`
80+
81+
Beispiele:
82+
83+
- `evcc/site/batteryGridChargeLimit/set`: 'none'
84+
85+
Um die Preisschwelle zum Laden der Batterie auf 'none' zu setzten, bzw. zu löschen.
86+
:::

i18n/en/docusaurus-plugin-content-docs/current/integrations/mqtt-api.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,3 +72,18 @@ Examples:
7272

7373
`2023-08-17T19:30:00Z` = 17th of August 2023 at 21:30 CEST
7474
:::
75+
76+
:::note
77+
\*\* Support for empty values:
78+
The following strings are recognized as empty values:
79+
- `nil`
80+
- `null`
81+
- `none`
82+
- `-`
83+
84+
Examples:
85+
86+
- `evcc/site/batteryGridChargeLimit/set`: 'none'
87+
88+
To set the price threshold for charging the battery to 'none' or to delete it.
89+
:::

0 commit comments

Comments
 (0)