Wallbox Change Minimum Value Charging Current (#104553)
parent
06b74249f7
commit
53e78cb017
|
@ -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
|
||||
|
|
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue