From 53e78cb0171b2ce137133a92276c25aa257e9cc2 Mon Sep 17 00:00:00 2001 From: Hessel Date: Sun, 26 Nov 2023 20:40:27 +0100 Subject: [PATCH] Wallbox Change Minimum Value Charging Current (#104553) --- homeassistant/components/wallbox/number.py | 2 +- tests/components/wallbox/test_number.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/homeassistant/components/wallbox/number.py b/homeassistant/components/wallbox/number.py index 9694e13103c..b47eb14d58a 100644 --- a/homeassistant/components/wallbox/number.py +++ b/homeassistant/components/wallbox/number.py @@ -35,7 +35,7 @@ def min_charging_current_value(coordinator: WallboxCoordinator) -> float: in BIDIRECTIONAL_MODEL_PREFIXES ): return cast(float, (coordinator.data[CHARGER_MAX_AVAILABLE_POWER_KEY] * -1)) - return 0 + return 6 @dataclass diff --git a/tests/components/wallbox/test_number.py b/tests/components/wallbox/test_number.py index 738b9bf7bd6..837df4dfd47 100644 --- a/tests/components/wallbox/test_number.py +++ b/tests/components/wallbox/test_number.py @@ -43,7 +43,7 @@ async def test_wallbox_number_class( status_code=200, ) state = hass.states.get(MOCK_NUMBER_ENTITY_ID) - assert state.attributes["min"] == 0 + assert state.attributes["min"] == 6 assert state.attributes["max"] == 25 await hass.services.async_call(