Refactor master bedroom remote configuration: Change framework type to Arduino and optimize display memory usage with palette mode

This commit is contained in:
Joshua King
2026-02-28 21:09:25 -05:00
parent 7698a0b79d
commit 35b501e978

View File

@@ -21,7 +21,7 @@ esphome:
esp32:
board: esp32dev
framework:
type: esp-idf
type: arduino
logger:
@@ -60,6 +60,8 @@ display:
spi_id: tft_spi
cs_pin: GPIO15
dc_pin: GPIO2
# Use palette mode to lower display buffer memory usage.
color_palette: 8BIT
data_rate: 40MHz
rotation: 0
invert_colors: false
@@ -253,4 +255,4 @@ text_sensor:
on_value:
then:
- lambda: 'id(fan_state) = (x == "on");'
- lambda: 'id(all_state) = id(light1_state) && id(light2_state) && id(fan_state);'
- lambda: 'id(all_state) = id(light1_state) && id(light2_state) && id(fan_state);'