Skip to content

Commit

Permalink
Correct remaining booleans in CostAndPrice (#919)
Browse files Browse the repository at this point in the history
Signed-off-by: Matthias Suess <[email protected]>
  • Loading branch information
Matthias-NIDEC authored Dec 18, 2024
1 parent 00137ba commit 8d162ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/ocpp/v16/charge_point_configuration.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2832,7 +2832,7 @@ std::optional<KeyValue> ChargePointConfiguration::getCustomIdleFeeAfterStopKeyVa
if (idle_fee.has_value()) {
result = KeyValue();
result->key = "CustomIdleFeeAfterStop";
result->value = std::to_string(idle_fee.value());
result->value = ocpp::conversions::bool_to_string(idle_fee.value());
result->readonly = false;
}

Expand All @@ -2854,7 +2854,7 @@ std::optional<KeyValue> ChargePointConfiguration::getCustomMultiLanguageMessages
if (multi_language.has_value()) {
result = KeyValue();
result->key = "CustomMultiLanguageMessages";
result->value = std::to_string(multi_language.value());
result->value = ocpp::conversions::bool_to_string(multi_language.value());
result->readonly = true;
}

Expand Down

0 comments on commit 8d162ae

Please sign in to comment.