We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9c93949 commit c293de4Copy full SHA for c293de4
packages/helpermodules/setdata.py
@@ -697,7 +697,7 @@ def process_bat_topic(self, msg: mqtt.MQTTMessage):
697
self._validate_value(msg, float, [(0, 100)])
698
elif "/get/fault_state" in msg.topic:
699
self._validate_value(msg, int, [(0, 2)])
700
- elif ("/get/fault_str" in msg.topicc or
+ elif ("/get/fault_str" in msg.topic or
701
"/get/serial_number" in msg.topic):
702
self._validate_value(msg, str)
703
elif "/set/power_limit_controllable" in msg.topic:
0 commit comments