Skip to content

Commit 2136b30

Browse files
committed
fix counter config max currents
1 parent 5a83de9 commit 2136b30

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/helpermodules/setdata.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -944,7 +944,7 @@ def process_counter_topic(self, msg: mqtt.MQTTMessage):
944944
elif "/module" in msg.topic:
945945
self._validate_value(msg, "json")
946946
elif "/config/max_currents" in msg.topic:
947-
self._validate_value(msg, int, [(7, 1500)], collection=list)
947+
self._validate_value(msg, int, [(6, 1500)], collection=list)
948948
elif ("/config/max_total_power" in msg.topic or
949949
"/config/max_power_errorcase" in msg.topic):
950950
self._validate_value(msg, int, [(0, float("inf"))])

0 commit comments

Comments
 (0)