V 1.1.0 Senden von Winddie in Grad, Log mehrere Werte
This commit is contained in:
@@ -7,7 +7,7 @@ function formatRecord(r) {
|
||||
const tmp = r.tempOut !== null ? `${r.tempOut}°C` : "n/a";
|
||||
const hum = r.humOut !== null ? `${r.humOut}%` : "n/a";
|
||||
const wnd = r.windAvg !== null ? `${r.windAvg} km/h` : "n/a";
|
||||
const dir = r.windDir ?? "n/a";
|
||||
const dir = r.windDir !== null ? `${r.windDir}°` : "n/a";
|
||||
const pre = r.pressure !== null ? `${r.pressure} hPa` : "n/a";
|
||||
const rai = r.rain > 0 ? ` Regen: ${r.rain}mm` : "";
|
||||
return `${ts} Außen: ${tmp} Feuchte: ${hum} Wind: ${wnd} ${dir} Druck: ${pre}${rai}`;
|
||||
|
||||
Reference in New Issue
Block a user