Skip to content

Commit d739451

Browse files
Fix type hint of OCPP 1.6 ChangeConfiguration.value (mobilityhouse#525)
1 parent aa9924a commit d739451

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Change log
22

3+
- [#366](https://github.com/mobilityhouse/ocpp/issues/366) Fix type hint of OCPP 1.6 ChangeConfiguration.value
34
- [#431](https://github.com/mobilityhouse/ocpp/issues/431) Attributes with 'v2x' are serialized as 'V2x', but should be serialized as 'V2X'
45
- [#554](https://github.com/mobilityhouse/ocpp/issues/554) OCPP 2.0.1 Edition 2 Errata 2023-12 document added
56
- [#548](https://github.com/mobilityhouse/ocpp/issues/548) OCPP 2.0.1 MessageInfoType attribute name correction
@@ -8,6 +9,7 @@
89

910
## 0.24.0 (2023-12-07)
1011

12+
1113
- [#539](https://github.com/mobilityhouse/ocpp/issues/539) feat: Add ChargePoint._handle_call return value. Thanks [@wafa-yah](https://github.com/wafa-yah)
1214
- [#266](https://github.com/mobilityhouse/ocpp/issues/266) fix: Central System documentation link.
1315
- [#516](https://github.com/mobilityhouse/ocpp/issues/516) OCPP 2.0.1 add additional security events from v1.3.

ocpp/v16/call.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
from dataclasses import dataclass, field
2-
from typing import Any, Dict, List, Optional
2+
from typing import Dict, List, Optional
33

44
from ocpp.v16.enums import (
55
AvailabilityType,
@@ -55,7 +55,7 @@ class ChangeAvailabilityPayload:
5555
@dataclass
5656
class ChangeConfigurationPayload:
5757
key: str
58-
value: Any
58+
value: str
5959

6060

6161
@dataclass

0 commit comments

Comments
 (0)