From c8e9992c328c5a795aa36a04f89debaef9f19e7c Mon Sep 17 00:00:00 2001 From: ESPHome Device Builder Date: Sat, 18 Jul 2026 22:18:21 +1200 Subject: [PATCH] Edit esp-bedside-panel.yaml --- esphome/esp-bedside-panel.yaml | 87 +++++++++++++++++++--------------- 1 file changed, 49 insertions(+), 38 deletions(-) diff --git a/esphome/esp-bedside-panel.yaml b/esphome/esp-bedside-panel.yaml index b2b72cb..df5ff3a 100644 --- a/esphome/esp-bedside-panel.yaml +++ b/esphome/esp-bedside-panel.yaml @@ -6,6 +6,7 @@ # https://home.fox.co.nz/gitea/zorruno/zorruno-homeassistant/src/branch/master/esphome/esp-bedside-panel.yaml #:########################################################################################:# # VERSIONS: +# V1.26 2026-07-18 Added Bedtime icon, snappier Security navigation and Atto text refinements # V1.25 2026-07-18 Reduced Jobs button line spacing to a balanced gap # V1.24 2026-07-18 Enlarged and separated Jobs button text # V1.23 2026-07-18 Centred Jobs text and used direct Jobs Tracker completion script @@ -126,12 +127,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. Balanced Jobs label spacing with direct hold-to-complete controls. (Layout V1.1)" + description_comment: "Guition JC1060P470C_I_W_Y ESP32-P4 bedside control panel. Sleep icon, instant Security navigation and refined Atto labels. (Layout V1.1)" device_area: "Bedroom" # Project Naming project_name: "Guition.JC1060P470C_I_W_Y" - project_version: "v1.25" + project_version: "v1.26" # Passwords & Secrets api_key: !secret esp-api_key @@ -627,6 +628,7 @@ font: - "\U000F07A8" # mdi-car-estate - "\U000F050F" # mdi-thermometer - "\U000F068A" # mdi-shield-home + - "\U000F04B2" # mdi-sleep # Live 24-hour time shown in bottom-right clock buttons. - file: @@ -2596,17 +2598,17 @@ script: id: atto_lock_button_label text: !lambda |- if (id(atto_lock_optimistic) == 1) { - return std::string("Locked\n(Hold)"); + return std::string("Locked"); } if (id(atto_lock_optimistic) == 0) { - return std::string("Unlocked\n(Hold)"); + return std::string("Unlocked"); } const auto state = id(ha_atto_lock_state).state; if (state == "locked") { - return std::string("Locked\n(Hold)"); + return std::string("Locked"); } if (state == "locking") { @@ -2617,7 +2619,7 @@ script: return std::string("Unlocking..."); } - return std::string("Unlocked\n(Hold)"); + return std::string("Unlocked"); - lvgl.label.update: id: atto_lock_icon_label @@ -2667,8 +2669,8 @@ script: id: atto_schedule_state_label text: !lambda |- return id(ha_atto_schedule_enabled).state - ? std::string("ENABLED") - : std::string("NOT ENABLED"); + ? std::string("Enabled") + : std::string("Disabled"); - lvgl.widget.update: id: atto_schedule_button @@ -4035,8 +4037,8 @@ lvgl: - label: id: bedtime_button_label align: CENTER - text: "Bedtime\n(Hold)" - text_font: font_small + text: "\U000F04B2" + text_font: font_mdi_navigation text_align: CENTER text_color: 0xFFFFFF @@ -4047,16 +4049,6 @@ lvgl: data: entity_id: "${bedtime_button_entity}" - - lvgl.label.update: - id: bedtime_button_label - text: "Activated" - - - delay: 2s - - - lvgl.label.update: - id: bedtime_button_label - text: "Bedtime\n(Hold)" - # Divider between Bedtime and the compact status strip. - obj: x: 268 @@ -4706,18 +4698,25 @@ lvgl: id(security_page_active) = true; id(security_camera_selection) = 1; + - lvgl.label.update: + id: security_camera_status_label + text: "Loading Doorbell..." + - lvgl.page.show: id: security_page - animation: MOVE_LEFT - time: 220ms + animation: NONE + time: 0ms - light.turn_on: id: display_backlight brightness: "${control_brightness}" - transition_length: 250ms + transition_length: 100ms - script.execute: refresh_security_controls - script.execute: refresh_security_camera_buttons + + # Allow the Security page to draw before starting HTTP image work. + - delay: 75ms - script.execute: refresh_security_camera - button: @@ -5229,9 +5228,19 @@ lvgl: - label: id: atto_lock_button_label x: 44 - y: 19 + y: 13 width: 166 - text: "Locked\n(Hold)" + text: "Locked" + text_font: font_vehicle_bold + text_align: CENTER + text_color: 0xFFFFFF + + - label: + id: atto_lock_hold_label + x: 44 + y: 57 + width: 166 + text: "(Hold)" text_font: font_small text_align: CENTER text_color: 0xFFFFFF @@ -5345,7 +5354,7 @@ lvgl: x: 44 y: 43 width: 166 - text: "NOT ENABLED" + text: "Disabled" text_font: font_vehicle_bold text_align: CENTER text_color: 0xFFFFFF @@ -5382,7 +5391,7 @@ lvgl: x: 44 y: 19 width: 166 - text: "Driver Seat\n(Hold)" + text: "Driver\n(Hold)" text_font: font_small text_align: CENTER text_color: 0xFFFFFF @@ -5474,7 +5483,7 @@ lvgl: x: 329 y: 31 width: 145 - text: "Level" + text: "Battery" text_font: font_small text_align: CENTER text_color: 0xAEB8C4 @@ -5542,7 +5551,7 @@ lvgl: x: 44 y: 19 width: 166 - text: "Passenger Seat\n(Hold)" + text: "Passenger\n(Hold)" text_font: font_small text_align: CENTER text_color: 0xFFFFFF @@ -6956,12 +6965,13 @@ lvgl: - lambda: |- id(security_page_active) = false; - - online_image.release: security_camera_image - - lvgl.page.show: id: bedroom_page - animation: MOVE_RIGHT - time: 220ms + animation: NONE + time: 0ms + + - delay: 50ms + - online_image.release: security_camera_image - button: id: security_clock_button @@ -6987,17 +6997,18 @@ lvgl: - lambda: |- id(security_page_active) = false; - - online_image.release: security_camera_image - - lvgl.page.show: id: clock_page - animation: FADE_IN - time: 250ms + animation: NONE + time: 0ms - light.turn_on: id: display_backlight brightness: "${clock_brightness}" - transition_length: 1500ms + transition_length: 250ms + + - delay: 50ms + - online_image.release: security_camera_image #:####################################################################################:# # CLOCK PAGE