Skip to content

Commit

Permalink
Update number.py to increase comfort setting to 11kW
Browse files Browse the repository at this point in the history
Since Alfen firmware 6.4.0 phase switching during solar charging functions properly. Therfore increase in comfort setting level makes sense. This limit can be used to switch phases.
People that use the charger on a 32A fuse as 22kW charger can manually increase this limit. I think most chargers and car combinations will be capped at 16A and 11kW.
  • Loading branch information
Emacee authored Aug 13, 2023
1 parent 5c41532 commit d190621
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_components/alfen_wallbox/number.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ class AlfenNumberDescription(NumberEntityDescription, AlfenNumberDescriptionMixi
assumed_state=False,
device_class=NumberDeviceClass.POWER_FACTOR,
native_min_value=1400,
native_max_value=3500,
native_max_value=11000,
native_step=100,
custom_mode=None,
unit_of_measurement=UnitOfPower.WATT,
Expand Down Expand Up @@ -307,4 +307,4 @@ async def async_set_green_share(self, value):
async def async_set_comfort_power(self, value):
"""Set the comfort power."""
await self._device.set_comfort_power(value)
await self.async_set_native_value(value)
await self.async_set_native_value(value)

0 comments on commit d190621

Please sign in to comment.