We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3ba677d commit 45ef9f5Copy full SHA for 45ef9f5
1 file changed
packages/helpermodules/setdata.py
@@ -662,7 +662,8 @@ def process_bat_topic(self, msg: mqtt.MQTTMessage):
662
if ("openWB/set/bat/config/bat_control_permitted" in msg.topic or
663
"openWB/set/bat/config/configured" in msg.topic or
664
"openWB/set/bat/get/power_limit_controllable" in msg.topic or
665
- "openWB/set/bat/set/regulate_up" in msg.topic):
+ "openWB/set/bat/set/regulate_up" in msg.topic or
666
+ "openWB/set/bat/set/hysteresis_discharge" in msg.topic):
667
self._validate_value(msg, bool)
668
elif "openWB/set/bat/set/charging_power_left" in msg.topic:
669
self._validate_value(msg, float)
0 commit comments