Skip to content

Commit

Permalink
correct qpiws descriptor for ha
Browse files Browse the repository at this point in the history
  • Loading branch information
softwarecrash committed Oct 7, 2024
1 parent c18810c commit 8dfdb07
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/PI_Serial/QPIWS.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,11 @@ bool PI_Serial::PIXX_QPIWS()
qpiwsStr += "; ";
}
}
liveData["Fault_or_Warning"] = qpiwsStr;
liveData["Fault_code"] = qpiwsStr;
}
else
{
liveData["Fault_or_Warning"] = "None";
liveData["Fault_code"] = "None";
}
}
return true;
Expand Down
2 changes: 1 addition & 1 deletion src/main.h
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ static const char *const haLiveDescriptor[][4]{
//{"Device_Status","state-machine","",""},
//{"EEPROM_Version","chip","",""},
//{"Fan_speed","fan","",""},
//{"Fault_code","alert-outline","",""},
{"Fault_code","alert-outline","",""},
{"Grid_frequency", "import", "Hz", "frequency"},
{"Grid_voltage", "import", "V", "voltage"},
{"Inverter_Bus_Temperature", "thermometer-lines", "°C", "temperature"},
Expand Down

0 comments on commit 8dfdb07

Please sign in to comment.