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"
44
55[project ]
66name = " saic_ismart_client"
7- version = " 1.7.0 "
7+ version = " 1.7.1 "
88authors = [
99 { name = " Thomas Salm" , email =" saic-python-client@devtom.de" },
1010]
Original file line number Diff line number Diff line change @@ -271,7 +271,8 @@ def get_data(self) -> dict:
271271 self .add_optional_field_to_data (data , FIELD_MODEL_YEAR , self .model_year )
272272 VinInfo .add_optional_bytes_field_to_data (data , FIELD_COLOR_NAME , self .color_name )
273273 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 ()
275276 self .add_optional_field_to_data (data , FIELD_TBOX_SIM_NO , self .tbox_sim_no )
276277 return data
277278
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ def __init__(self):
4747 self .ccuOffBdChrgrPlugOn : int | None = None # INTEGER(0..255) OPTIONAL,
4848 self .chrgngDoorPosSts : int | None = None # INTEGER(0..255) OPTIONAL,
4949 self .chrgngDoorOpenCnd : int | None = None # INTEGER(0..255) OPTIONAL,
50- self .chargeStatus = None # RvsChargingStatus(1),
50+ self .chargeStatus : RvsChargingStatus | None = None # RvsChargingStatus(1),
5151 self .bmsAdpPubChrgSttnDspCmd : int | None = None # INTEGER(0..255)
5252
5353 def get_data (self ) -> dict :
You can’t perform that action at this time.
0 commit comments