File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
5
5
[project ]
6
6
name = " saic_ismart_client"
7
- version = " 1.7.0 "
7
+ version = " 1.7.1 "
8
8
authors = [
9
9
{ name = " Thomas Salm" , email =" saic-python-client@devtom.de" },
10
10
]
Original file line number Diff line number Diff line change @@ -271,7 +271,8 @@ def get_data(self) -> dict:
271
271
self .add_optional_field_to_data (data , FIELD_MODEL_YEAR , self .model_year )
272
272
VinInfo .add_optional_bytes_field_to_data (data , FIELD_COLOR_NAME , self .color_name )
273
273
self .add_optional_field_to_data (data , FIELD_MODEL_CONF_JSON , self .model_configuration_json_str )
274
- self .add_optional_field_to_data (data , FIELD_BIND_TIME , self .bind_time )
274
+ if self .bind_time is not None :
275
+ data [FIELD_BIND_TIME ] = self .bind_time .get_data ()
275
276
self .add_optional_field_to_data (data , FIELD_TBOX_SIM_NO , self .tbox_sim_no )
276
277
return data
277
278
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ def __init__(self):
47
47
self .ccuOffBdChrgrPlugOn : int | None = None # INTEGER(0..255) OPTIONAL,
48
48
self .chrgngDoorPosSts : int | None = None # INTEGER(0..255) OPTIONAL,
49
49
self .chrgngDoorOpenCnd : int | None = None # INTEGER(0..255) OPTIONAL,
50
- self .chargeStatus = None # RvsChargingStatus(1),
50
+ self .chargeStatus : RvsChargingStatus | None = None # RvsChargingStatus(1),
51
51
self .bmsAdpPubChrgSttnDspCmd : int | None = None # INTEGER(0..255)
52
52
53
53
def get_data (self ) -> dict :
You can’t perform that action at this time.
0 commit comments