diff --git a/templates/dashboard.html b/templates/dashboard.html index e88dbcb..23f01a9 100644 --- a/templates/dashboard.html +++ b/templates/dashboard.html @@ -29,6 +29,14 @@ +
+
🌡️
+
+
--
+
Temperature (°F)
+
+
+
🔽
@@ -251,6 +259,11 @@ document.getElementById("current-temp").textContent = data.temperature; + // Calculate and update Fahrenheit temperature + const tempF = (data.temperature * 9/5) + 32; + document.getElementById("current-temp-f").textContent = + tempF.toFixed(2); + // Update raw temperature if available if (data.temperature_raw !== undefined) { document.getElementById("temp-raw").textContent =