From 60690a7447afd787c1b4b8240a8a4d8c23e5a158 Mon Sep 17 00:00:00 2001 From: seaspotter Date: Sat, 31 Oct 2026 21:39:34 +0100 Subject: [PATCH] Kostal Plenticore: power_limit_controllable() wieder als Methode statt toter Funktion --- packages/modules/devices/kostal/kostal_plenticore/bat.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/modules/devices/kostal/kostal_plenticore/bat.py b/packages/modules/devices/kostal/kostal_plenticore/bat.py index c18b89d5ca..309d71d486 100644 --- a/packages/modules/devices/kostal/kostal_plenticore/bat.py +++ b/packages/modules/devices/kostal/kostal_plenticore/bat.py @@ -88,9 +88,8 @@ def set_power_limit(self, setpoint: SetPoint) -> None: self.client.write_register(1034, power_value, data_type=ModbusDataType.FLOAT_32, wordorder=Endian.Little, unit=unit) - -def power_limit_controllable(self) -> bool: - return True + def power_limit_controllable(self) -> bool: + return True component_descriptor = ComponentDescriptor(configuration_factory=KostalPlenticoreBatSetup)