diff --git a/homeassistant/components/peblar/number.py b/homeassistant/components/peblar/number.py index 72c7b02a6e0..a5e926714d9 100644 --- a/homeassistant/components/peblar/number.py +++ b/homeassistant/components/peblar/number.py @@ -48,7 +48,7 @@ DESCRIPTIONS = [ native_max_value_fn=lambda x: x.system_information.hardware_max_current, native_unit_of_measurement=UnitOfElectricCurrent.AMPERE, set_value_fn=lambda x, v: x.ev_interface(charge_current_limit=int(v) * 1000), - value_fn=lambda x: round(x.ev.charge_current_limit_actual / 1000), + value_fn=lambda x: round(x.ev.charge_current_limit / 1000), ), ] diff --git a/tests/components/peblar/snapshots/test_number.ambr b/tests/components/peblar/snapshots/test_number.ambr index 50b44583d1c..d78067849f3 100644 --- a/tests/components/peblar/snapshots/test_number.ambr +++ b/tests/components/peblar/snapshots/test_number.ambr @@ -53,6 +53,6 @@ 'last_changed': , 'last_reported': , 'last_updated': , - 'state': '6', + 'state': '16', }) # ---