We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3a6024 commit 67d3e3cCopy full SHA for 67d3e3c
packages/modules/internal_chargepoint_handler/internal_chargepoint_handler.py
@@ -212,7 +212,7 @@ def _loop():
212
time.sleep(1.1)
213
with SingleComponentUpdateContext(self.fault_state_info_cp0, update_always=False):
214
# Allgemeine Fehlermeldungen an LP 1
215
- if self.cp0.mode == InternalChargepointMode.PRO_PLUS.value:
+ if self.cp0 is not None and self.cp0.mode == InternalChargepointMode.PRO_PLUS.value:
216
_loop()
217
elif self.cp0_client_handler is None and self.cp1_client_handler is None:
218
log.error("Kein ClientHandler vorhanden. Beende.")
0 commit comments