Skip to content

Commit

Permalink
add correct f temp
Browse files Browse the repository at this point in the history
  • Loading branch information
TA2k committed Dec 2, 2023
1 parent 543517e commit a73e628
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -3673,7 +3673,9 @@ class VwWeconnect extends utils.Adapter {
body[key] = climateStates[keyName].val;
}
});

if (body.targetTemperature_C && body.targetTemperature_F) {
body.targetTemperature_F = Math.round((body.targetTemperature_C * 9) / 5 + 32);
}
// body = JSON.stringify(body);
}
if (action === "honkandflash" || action === "flash") {
Expand Down

0 comments on commit a73e628

Please sign in to comment.