@@ -522,12 +522,12 @@ def fetch_charging(self, vehicle: SkodaElectricVehicle, no_cache: bool = False)
522
522
if 'maxChargeCurrentAc' in data ['settings' ] and data ['settings' ]['maxChargeCurrentAc' ] is not None \
523
523
and vehicle .charging is not None and vehicle .charging .settings is not None :
524
524
vehicle .charging .settings .maximum_current .minimum = 6.0
525
- vehicle .charging .settings .maximum_current .maximum = 11 .0
525
+ vehicle .charging .settings .maximum_current .maximum = 16 .0
526
526
vehicle .charging .settings .maximum_current .precision = 1.0
527
527
vehicle .charging .settings .maximum_current ._add_on_set_hook (self .__on_charging_maximum_current_change ) # pylint: disable=protected-access
528
528
vehicle .charging .settings .maximum_current ._is_changeable = True # pylint: disable=protected-access
529
529
if data ['settings' ]['maxChargeCurrentAc' ] == 'MAXIMUM' :
530
- vehicle .charging .settings .maximum_current ._set_value (value = 11 , measured = captured_at ) # pylint: disable=protected-access
530
+ vehicle .charging .settings .maximum_current ._set_value (value = 16 , measured = captured_at ) # pylint: disable=protected-access
531
531
elif data ['settings' ]['maxChargeCurrentAc' ] == 'REDUCED' :
532
532
vehicle .charging .settings .maximum_current ._set_value (value = 6 , measured = captured_at ) # pylint: disable=protected-access
533
533
else :
@@ -1957,12 +1957,12 @@ def __on_charging_maximum_current_change(self, current_attribute: CurrentAttribu
1957
1957
setting_dict = {}
1958
1958
precision : float = current_attribute .precision if current_attribute .precision is not None else 1.0
1959
1959
maximum_current = round (maximum_current / precision ) * precision
1960
- if maximum_current < 11 :
1960
+ if maximum_current < 16 :
1961
1961
setting_dict ['chargingCurrent' ] = "REDUCED"
1962
1962
maximum_current = 6.0
1963
1963
else :
1964
1964
setting_dict ['chargingCurrent' ] = "MAXIMUM"
1965
- maximum_current = 11 .0
1965
+ maximum_current = 16 .0
1966
1966
1967
1967
url = f'https://mysmob.api.connect.skoda-auto.cz/api/v1/charging/{ vin } /set-charging-current'
1968
1968
try :
0 commit comments