Skip to content

Mqtt: allow nil/null/none/- as empty values #666 #730

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
:::