From edd8cd01c131f4f14a60820540433931f3f5a645 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 17 Apr 2026 15:04:47 -0500 Subject: [PATCH] Group climate controls together on Controls page Thermostats now render in their own grid row at the top, side-by-side with equal min-height. Alarm, lights, and locks follow in a separate grid below. --- src/components/controls/ControlsOverlay.tsx | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/src/components/controls/ControlsOverlay.tsx b/src/components/controls/ControlsOverlay.tsx index f7afdac..65da2a3 100644 --- a/src/components/controls/ControlsOverlay.tsx +++ b/src/components/controls/ControlsOverlay.tsx @@ -25,12 +25,21 @@ export function ControlsOverlay() { -
+
+ {/* Climate controls — grouped together, equal width */} + {config.thermostats.length > 0 && ( +
+ {config.thermostats.map((thermostat) => ( +
+ +
+ ))} +
+ )} + + {/* Alarm, Lights, Locks */}
{config.alarm && } - {config.thermostats.map((thermostat) => ( - - ))} {config.lights.length > 0 && } {config.locks.length > 0 && }