Edit esp-bedside-panel.yaml
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
# https://home.fox.co.nz/gitea/zorruno/zorruno-homeassistant/src/branch/master/esphome/esp-bedside-panel.yaml
|
||||
#:########################################################################################:#
|
||||
# VERSIONS:
|
||||
# V1.23 2026-07-18 Centred Jobs text and used direct Jobs Tracker completion script
|
||||
# V1.22 2026-07-18 Added 15-slot Jobs page with status colours and hold completion
|
||||
# V1.21 2026-07-18 Replaced bottom navigation text with icons and live time
|
||||
# V1.20 2026-07-18 Swapped Bedtime/Jobs, defaulted Doorbell and refined Climate icons
|
||||
@@ -123,12 +124,12 @@ substitutions:
|
||||
# Device Naming
|
||||
device_name: "esp-bedside-panel"
|
||||
friendly_name: "ESP Bedside Panel"
|
||||
description_comment: "Guition JC1060P470C_I_W_Y ESP32-P4 bedside control panel. Fifteen-slot Jobs page with live status and hold-to-complete controls. (Layout V1.1)"
|
||||
description_comment: "Guition JC1060P470C_I_W_Y ESP32-P4 bedside control panel. Centred Jobs labels with direct hold-to-complete script calls. (Layout V1.1)"
|
||||
device_area: "Bedroom"
|
||||
|
||||
# Project Naming
|
||||
project_name: "Guition.JC1060P470C_I_W_Y"
|
||||
project_version: "v1.22"
|
||||
project_version: "v1.23"
|
||||
|
||||
# Passwords & Secrets
|
||||
api_key: !secret esp-api_key
|
||||
@@ -229,19 +230,19 @@ substitutions:
|
||||
# Home Assistant Entities - Jobs Tracker
|
||||
# Slots 1-5 are currently active. The page reserves 15 positions in total.
|
||||
job_1_state_entity: "sensor.jobs_tracker_dog_feeding_morning"
|
||||
job_1_complete_button_entity: "button.jobs_tracker_complete_dog_feeding_morning"
|
||||
job_1_id: "dog_feeding_morning"
|
||||
|
||||
job_2_state_entity: "sensor.jobs_tracker_dog_feeding_evening"
|
||||
job_2_complete_button_entity: "button.jobs_tracker_complete_dog_feeding_evening"
|
||||
job_2_id: "dog_feeding_evening"
|
||||
|
||||
job_3_state_entity: "sensor.jobs_tracker_dog_depooping"
|
||||
job_3_complete_button_entity: "button.jobs_tracker_complete_dog_depooping"
|
||||
job_3_id: "dog_depooping"
|
||||
|
||||
job_4_state_entity: "sensor.jobs_tracker_dishwasher_unpacked"
|
||||
job_4_complete_button_entity: "button.jobs_tracker_complete_dishwasher_unpacked"
|
||||
job_4_id: "dishwasher_unpacked"
|
||||
|
||||
job_5_state_entity: "sensor.jobs_tracker_rubbish_removed"
|
||||
job_5_complete_button_entity: "button.jobs_tracker_complete_rubbish_removed"
|
||||
job_5_id: "rubbish_removed"
|
||||
|
||||
#:########################################################################################:#
|
||||
# PACKAGES:
|
||||
@@ -4750,8 +4751,8 @@ lvgl:
|
||||
bg_color: 0x42627A
|
||||
widgets:
|
||||
- label:
|
||||
x: 10
|
||||
y: 8
|
||||
align: TOP_MID
|
||||
y: 9
|
||||
width: 300
|
||||
text: "Dog Feeding Morning"
|
||||
text_font: font_small
|
||||
@@ -4760,8 +4761,8 @@ lvgl:
|
||||
|
||||
- label:
|
||||
id: job_1_status_label
|
||||
x: 10
|
||||
y: 42
|
||||
align: BOTTOM_MID
|
||||
y: -9
|
||||
width: 300
|
||||
text: "Unknown"
|
||||
text_font: font_header
|
||||
@@ -4775,9 +4776,9 @@ lvgl:
|
||||
text: "Completing..."
|
||||
|
||||
- homeassistant.action:
|
||||
action: button.press
|
||||
action: script.jobs_tracker_route_completion
|
||||
data:
|
||||
entity_id: "${job_1_complete_button_entity}"
|
||||
manual_job_id: "${job_1_id}"
|
||||
|
||||
- delay: 2s
|
||||
- script.execute: refresh_jobs_page
|
||||
@@ -4797,8 +4798,8 @@ lvgl:
|
||||
bg_color: 0x42627A
|
||||
widgets:
|
||||
- label:
|
||||
x: 10
|
||||
y: 8
|
||||
align: TOP_MID
|
||||
y: 9
|
||||
width: 300
|
||||
text: "Dog Feeding Evening"
|
||||
text_font: font_small
|
||||
@@ -4807,8 +4808,8 @@ lvgl:
|
||||
|
||||
- label:
|
||||
id: job_2_status_label
|
||||
x: 10
|
||||
y: 42
|
||||
align: BOTTOM_MID
|
||||
y: -9
|
||||
width: 300
|
||||
text: "Unknown"
|
||||
text_font: font_header
|
||||
@@ -4822,9 +4823,9 @@ lvgl:
|
||||
text: "Completing..."
|
||||
|
||||
- homeassistant.action:
|
||||
action: button.press
|
||||
action: script.jobs_tracker_route_completion
|
||||
data:
|
||||
entity_id: "${job_2_complete_button_entity}"
|
||||
manual_job_id: "${job_2_id}"
|
||||
|
||||
- delay: 2s
|
||||
- script.execute: refresh_jobs_page
|
||||
@@ -4844,8 +4845,8 @@ lvgl:
|
||||
bg_color: 0x42627A
|
||||
widgets:
|
||||
- label:
|
||||
x: 10
|
||||
y: 8
|
||||
align: TOP_MID
|
||||
y: 9
|
||||
width: 300
|
||||
text: "Dog De-pooping"
|
||||
text_font: font_small
|
||||
@@ -4854,8 +4855,8 @@ lvgl:
|
||||
|
||||
- label:
|
||||
id: job_3_status_label
|
||||
x: 10
|
||||
y: 42
|
||||
align: BOTTOM_MID
|
||||
y: -9
|
||||
width: 300
|
||||
text: "Unknown"
|
||||
text_font: font_header
|
||||
@@ -4869,9 +4870,9 @@ lvgl:
|
||||
text: "Completing..."
|
||||
|
||||
- homeassistant.action:
|
||||
action: button.press
|
||||
action: script.jobs_tracker_route_completion
|
||||
data:
|
||||
entity_id: "${job_3_complete_button_entity}"
|
||||
manual_job_id: "${job_3_id}"
|
||||
|
||||
- delay: 2s
|
||||
- script.execute: refresh_jobs_page
|
||||
@@ -4891,8 +4892,8 @@ lvgl:
|
||||
bg_color: 0x42627A
|
||||
widgets:
|
||||
- label:
|
||||
x: 10
|
||||
y: 8
|
||||
align: TOP_MID
|
||||
y: 9
|
||||
width: 300
|
||||
text: "Dishwasher Unpacked"
|
||||
text_font: font_small
|
||||
@@ -4901,8 +4902,8 @@ lvgl:
|
||||
|
||||
- label:
|
||||
id: job_4_status_label
|
||||
x: 10
|
||||
y: 42
|
||||
align: BOTTOM_MID
|
||||
y: -9
|
||||
width: 300
|
||||
text: "Unknown"
|
||||
text_font: font_header
|
||||
@@ -4916,9 +4917,9 @@ lvgl:
|
||||
text: "Completing..."
|
||||
|
||||
- homeassistant.action:
|
||||
action: button.press
|
||||
action: script.jobs_tracker_route_completion
|
||||
data:
|
||||
entity_id: "${job_4_complete_button_entity}"
|
||||
manual_job_id: "${job_4_id}"
|
||||
|
||||
- delay: 2s
|
||||
- script.execute: refresh_jobs_page
|
||||
@@ -4938,8 +4939,8 @@ lvgl:
|
||||
bg_color: 0x42627A
|
||||
widgets:
|
||||
- label:
|
||||
x: 10
|
||||
y: 8
|
||||
align: TOP_MID
|
||||
y: 9
|
||||
width: 300
|
||||
text: "Rubbish Removed"
|
||||
text_font: font_small
|
||||
@@ -4948,8 +4949,8 @@ lvgl:
|
||||
|
||||
- label:
|
||||
id: job_5_status_label
|
||||
x: 10
|
||||
y: 42
|
||||
align: BOTTOM_MID
|
||||
y: -9
|
||||
width: 300
|
||||
text: "Unknown"
|
||||
text_font: font_header
|
||||
@@ -4963,9 +4964,9 @@ lvgl:
|
||||
text: "Completing..."
|
||||
|
||||
- homeassistant.action:
|
||||
action: button.press
|
||||
action: script.jobs_tracker_route_completion
|
||||
data:
|
||||
entity_id: "${job_5_complete_button_entity}"
|
||||
manual_job_id: "${job_5_id}"
|
||||
|
||||
- delay: 2s
|
||||
- script.execute: refresh_jobs_page
|
||||
|
||||
Reference in New Issue
Block a user