Skip to content

Commit

Permalink
Merge pull request #46 from Emacee/master-1
Browse files Browse the repository at this point in the history
Update number.py to increase comfort setting to 11kW
  • Loading branch information
leeyuentuen authored Aug 13, 2023
2 parents 5c41532 + d190621 commit c891eb8
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 c891eb8

Please sign in to comment.