Resilience pass: bulletproof recovery + FWS / fault polling + EG4 discovery refresh
This commit is contained in:
@@ -461,9 +461,12 @@ QUERY_COMMANDS = {
|
||||
"command_type": CommandType.PI18_QUERY,
|
||||
"result_type": ResultType.COMMA_DELIMITED,
|
||||
"reading_definitions": [
|
||||
# Defensive: any 2-digit code outside this map shows as
|
||||
# "Fault NN" rather than crashing the entire poller.
|
||||
{"description": "Fault code", "reading_type": ReadingType.MESSAGE,
|
||||
"response_type": ResponseType.OPTION,
|
||||
"options": {
|
||||
**{f"{i:02d}": f"Fault {i:02d}" for i in range(0, 100)},
|
||||
"00": "No fault",
|
||||
"01": "Fan is locked",
|
||||
"02": "Over temperature",
|
||||
|
||||
Reference in New Issue
Block a user