Edit esp-reterminal-e1001.yaml

This commit is contained in:
ESPHome Device Builder
2026-07-30 22:01:11 +12:00
parent 2d03882fc2
commit f12cff30c2
+16 -16
View File
@@ -760,12 +760,12 @@ display:
// Big job icon in the left quarter of the tile. // Big job icon in the left quarter of the tile.
draw_job_icon(icon_type, x + 6, y + 41, foreground, background); draw_job_icon(icon_type, x + 6, y + 41, foreground, background);
// Two-line job title and status, left-aligned in the right 3/4. // Two-line job title and status in the right 3/4.
const int text_x = x + 71; const int text_x = x + 71;
it.printf( it.printf(
text_x, text_x,
y + 40, y + 30,
id(font_job_title), id(font_job_title),
foreground, foreground,
TextAlign::CENTER_LEFT, TextAlign::CENTER_LEFT,
@@ -775,7 +775,7 @@ display:
it.printf( it.printf(
text_x, text_x,
y + 70, y + 56,
id(font_job_title), id(font_job_title),
foreground, foreground,
TextAlign::CENTER_LEFT, TextAlign::CENTER_LEFT,
@@ -785,7 +785,7 @@ display:
it.printf( it.printf(
text_x, text_x,
y + 96, y + 88,
id(font_job_status), id(font_job_status),
foreground, foreground,
TextAlign::CENTER_LEFT, TextAlign::CENTER_LEFT,
@@ -795,11 +795,11 @@ display:
if (!status_sub.empty()) { if (!status_sub.empty()) {
it.printf( it.printf(
text_x, x + w - 6,
y + 120, y + 112,
id(font_job_status_sub), id(font_job_status_sub),
foreground, foreground,
TextAlign::CENTER_LEFT, TextAlign::RIGHT,
"%s", "%s",
status_sub.c_str() status_sub.c_str()
); );
@@ -869,15 +869,15 @@ display:
); );
draw_job( draw_job(
536, 204, 4, 536, 204, 5,
"Water TV", "Pot Plant", "Empty the", "Dryer",
id(job_water_tv_pot_plant_state).state, id(job_empty_dryer_state).state,
id(job_water_tv_pot_plant_due_ts).state, id(job_empty_dryer_due_ts).state,
id(job_water_tv_pot_plant_completed_time).state, id(job_empty_dryer_completed_time).state,
id(job_water_tv_pot_plant_elapsed).state id(job_empty_dryer_elapsed).state
); );
// Row 3: water table plant, dryer, washing machine. // Row 3: water table plant, water TV pot plant, washing machine.
draw_job( draw_job(
8, 342, 4, 8, 342, 4,
"Water Table", "Pot Plant", "Water Table", "Pot Plant",
@@ -888,8 +888,8 @@ display:
); );
draw_job( draw_job(
272, 342, 5, 272, 342, 4,
"Empty the", "Dryer", "Water TV", "Pot Plant",
id(job_empty_dryer_state).state, id(job_empty_dryer_state).state,
id(job_empty_dryer_due_ts).state, id(job_empty_dryer_due_ts).state,
id(job_empty_dryer_completed_time).state, id(job_empty_dryer_completed_time).state,