+ {stats.length > 0 && (
+
+ {stats.map((stat) => (
+
+ {stat.icon}
+
+ {stat.label}
+ {stat.value}
+
+
+ ))}
+
+ )}
+ {temperatures.length > 0 && (
+
+ {temperatures.map((reading) => (
+
+ {reading.icon}
+
+ {reading.label}
+
+ {Math.round(reading.current)}°C
+ {reading.target != null &&
+ reading.target > 0 &&
+ Math.round(reading.target) !== Math.round(reading.current) && (
+ / {Math.round(reading.target)}°C
+ )}
+
+
+
+ ))}
+
+ )}
+
+ )}
+