Skip to content

Commit 6392c2e

Browse files
authored
Merge pull request #3050 from ndrsnhs/kostal-bat-control-fix
Kostal bat control fix
2 parents de40f3c + cfa5d02 commit 6392c2e

File tree

1 file changed

+1
-1
lines changed
  • packages/modules/devices/kostal/kostal_plenticore

1 file changed

+1
-1
lines changed

packages/modules/devices/kostal/kostal_plenticore/bat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def update(self) -> None:
6060
# Timeout kann im Kostal UI geändert werden. Standardwert 30s
6161

6262
def set_power_limit(self, power_limit: Optional[int]) -> None:
63-
unit = self.device_config.configuration.modbus_id
63+
unit = self.modbus_id
6464
log.debug(f'last_mode: {self.last_mode}')
6565

6666
if power_limit is None:

0 commit comments

Comments
 (0)