From b976b7f1331ae589d919fb11c09f34ffd243d3d4 Mon Sep 17 00:00:00 2001 From: Joshua King Date: Sun, 1 Mar 2026 08:39:34 -0500 Subject: [PATCH] Refactor button colors for light and fan states: Update to a consistent color scheme for better visibility --- esphome/master_bedroom_remote.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/esphome/master_bedroom_remote.yaml b/esphome/master_bedroom_remote.yaml index 3210c9f..569628e 100644 --- a/esphome/master_bedroom_remote.yaml +++ b/esphome/master_bedroom_remote.yaml @@ -85,23 +85,23 @@ display: // Button 2: Light 1 (top-right) if (id(light1_state)) { - it.filled_rectangle(170, 50, 130, 80, Color(0xFFC107)); + it.filled_rectangle(170, 50, 130, 80, Color(0x4CAF50)); } else { it.filled_rectangle(170, 50, 130, 80, Color(0x424242)); } it.print(235, 90, id(button_font), Color(0xFFFFFF), TextAlign::CENTER, "Polly's Light"); - + // Button 3: Light 2 (bottom-left) if (id(light2_state)) { - it.filled_rectangle(20, 150, 130, 80, Color(0xFFC107)); + it.filled_rectangle(20, 150, 130, 80, Color(0x4CAF50)); } else { it.filled_rectangle(20, 150, 130, 80, Color(0x424242)); } it.print(85, 190, id(button_font), Color(0xFFFFFF), TextAlign::CENTER, "Joshua's Light"); - + // Button 4: Fan (bottom-right) if (id(fan_state)) { - it.filled_rectangle(170, 150, 130, 80, Color(0x2196F3)); + it.filled_rectangle(170, 150, 130, 80, Color(0x4CAF50)); } else { it.filled_rectangle(170, 150, 130, 80, Color(0x424242)); }