We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 074ffac commit 1f13b2dCopy full SHA for 1f13b2d
1 file changed
packages/control/pv_all.py
@@ -70,7 +70,7 @@ def calc_power_for_all_components(self) -> None:
70
if fault_state < module.data.get.fault_state:
71
fault_state = module.data.get.fault_state
72
limit = data.data.io_actions.stepwise_control(module.num)[1]
73
- if module.data.get.fault_state == 0:
+ if module.data.get.fault_state == 0 and limit.message is not None:
74
# Fehlermeldung nicht überschreiben
75
module.data.get.fault_str = limit.message
76
Pub().pub(f"openWB/set/pv/{module.num}/get/fault_str", limit.message)
0 commit comments