Skip to content

Commit

Permalink
(simatec) Fix Inverter Data for X1 Hybrid G4
Browse files Browse the repository at this point in the history
  • Loading branch information
simatec committed Jan 1, 2024
1 parent fa1f256 commit af65bca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,7 @@ async function requestLocalAPI(root_dataPoints, information_dataPoints, data_dat
data = data * dataPoint.multiplier;
}

if ((type == 1 && key == '68') || (type == 3 && key == '18') || (type == 4 && key == '19') || (type == 2 && key == '10') || (type == 5 && key == '21')) {
if ((type == 1 && key == '68') || (type == 3 && key == '18') || (type == 4 && key == '19') || (type == 2 && key == '10') || (type == 5 && key == '21') || (type == 6 && key == '10')) {
data = data !== undefined ? _inverterStateLocal[data] : 'Offline';
}
await setDataPoint(dataPoint, data);
Expand Down

0 comments on commit af65bca

Please sign in to comment.