updates
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
substitutions:
|
substitutions:
|
||||||
device_name: resin-curing-timer
|
device_name: resin-curing-timer
|
||||||
outlet_entity: switch.resin_uv_light # Home Assistant UV light outlet.
|
outlet_entity: switch.resin_uv_light # Home Assistant UV light outlet.
|
||||||
display_model: ESP32-2432S028 # Original ILI9341 CYD; see README for variants.
|
display_model: ESP32-2432S028-7789 # 2.8" CYD with ST7789V (USB-C + micro-USB).
|
||||||
|
|
||||||
esphome:
|
esphome:
|
||||||
name: ${device_name}
|
name: ${device_name}
|
||||||
@@ -56,6 +56,7 @@ display:
|
|||||||
id: tft
|
id: tft
|
||||||
model: ${display_model}
|
model: ${display_model}
|
||||||
spi_id: tft_spi
|
spi_id: tft_spi
|
||||||
|
dimensions: 240x320 # Native portrait size; LVGL rotates to 320x240 landscape.
|
||||||
auto_clear_enabled: false
|
auto_clear_enabled: false
|
||||||
update_interval: never
|
update_interval: never
|
||||||
|
|
||||||
@@ -208,7 +209,7 @@ interval:
|
|||||||
|
|
||||||
lvgl:
|
lvgl:
|
||||||
displays: [tft]
|
displays: [tft]
|
||||||
rotation: 90
|
rotation: 90 # Landscape; LVGL also rotates touch coordinates.
|
||||||
touchscreens: [touch]
|
touchscreens: [touch]
|
||||||
buffer_size: 25%
|
buffer_size: 25%
|
||||||
bg_color: 0x1C2638
|
bg_color: 0x1C2638
|
||||||
@@ -278,6 +279,7 @@ lvgl:
|
|||||||
text_align: CENTER
|
text_align: CENTER
|
||||||
text_font: montserrat_48
|
text_font: montserrat_48
|
||||||
text_color: 0xA7EFF5
|
text_color: 0xA7EFF5
|
||||||
|
# All four time presets share one horizontal row on the 320x240 page.
|
||||||
- button:
|
- button:
|
||||||
id: preset_30
|
id: preset_30
|
||||||
x: 10
|
x: 10
|
||||||
|
|||||||
Reference in New Issue
Block a user