Skip to content

Commit

Permalink
Mqtt: allow nil/null/none/- as empty values evcc-io#666
Browse files Browse the repository at this point in the history
  • Loading branch information
nikohein committed Feb 12, 2025
1 parent 2550601 commit 85617e9
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
15 changes: 15 additions & 0 deletions docs/integrations/mqtt-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,18 @@ Beispiele:

`2023-08-17T19:30:00Z` = 17. August 2023 um 21:30 Uhr MESZ
:::

:::note
\*\* Unterstützung leerer Werte:
Folgende Zeichenfolgen werden als leere Werte erkannt:
- `nil`
- `null`
- `none`
- `-`

Beispiele:

- `evcc/site/batteryGridChargeLimit/set`: 'none'

Um die Preisschwelle zum Laden der Batterie auf 'none' zu setzten, bzw. zu löschen.
:::
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,18 @@ Examples:

`2023-08-17T19:30:00Z` = 17th of August 2023 at 21:30 CEST
:::

:::note
\*\* Support for empty values:
The following strings are recognized as empty values:
- `nil`
- `null`
- `none`
- `-`

Examples:

- `evcc/site/batteryGridChargeLimit/set`: 'none'

To set the price threshold for charging the battery to 'none' or to delete it.
:::

0 comments on commit 85617e9

Please sign in to comment.