Skip to content

Commit

Permalink
Fix external openWB fault state in software2 (#2804)
Browse files Browse the repository at this point in the history
* Fix external openWB fault state in software2

* improve
  • Loading branch information
LKuemmel authored Dec 20, 2023
1 parent 513f3f9 commit 25a4ab0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions runs/isss.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,11 @@ def update_values(self, counter_state: ChargepointState) -> None:
self._pub_values_to_1_9(key, value)
self._pub_values_to_2(key, value)
self.old_counter_state = counter_state
for topic, value in [
("fault_state", 0),
("fault_str", "Keine Fehler.")
]:
self._pub_values_to_2(topic, value)

def _pub_values_to_1_9(self, key: str, value) -> None:
def pub_value(topic: str, value):
Expand Down

0 comments on commit 25a4ab0

Please sign in to comment.