Edit esp-bedside-panel.yaml

This commit is contained in:
ESPHome Device Builder
2026-07-15 21:01:53 +12:00
parent 5855dbb5a9
commit 34a84d0d0c
+6 -255
View File
@@ -6,7 +6,7 @@
# https://home.fox.co.nz/gitea/zorruno/zorruno-homeassistant/src/branch/master/esphome/esp-bedside-panel.yaml # https://home.fox.co.nz/gitea/zorruno/zorruno-homeassistant/src/branch/master/esphome/esp-bedside-panel.yaml
#:########################################################################################:# #:########################################################################################:#
# VERSIONS: # VERSIONS:
# V0.8d 2026-07-15 Centred button captions and added initial Climate page # V0.8e 2026-07-15 Centred Bedroom button captions only; no additional pages
# V0.8b 2026-07-15 Changed proven V0.8a clock to 24-hour format and removed AM/PM # V0.8b 2026-07-15 Changed proven V0.8a clock to 24-hour format and removed AM/PM
# V0.8a 2026-07-14 Reduced LVGL memory load after V0.8 OTA rollback # V0.8a 2026-07-14 Reduced LVGL memory load after V0.8 OTA rollback
# Added lean large-clock idle page and Bedroom controls # Added lean large-clock idle page and Bedroom controls
@@ -72,12 +72,12 @@ substitutions:
# Device Naming # Device Naming
device_name: "esp-bedside-panel" device_name: "esp-bedside-panel"
friendly_name: "ESP Bedside Panel" friendly_name: "ESP Bedside Panel"
description_comment: "Guition JC1060P470C_I_W_Y ESP32-P4 bedside clock and Home Assistant control panel. Centred controls and initial Climate page. (Layout V1.1)" description_comment: "Guition JC1060P470C_I_W_Y ESP32-P4 bedside clock and Home Assistant control panel. Centred Bedroom button captions only. (Layout V1.1)"
device_area: "Bedroom" device_area: "Bedroom"
# Project Naming # Project Naming
project_name: "Guition.JC1060P470C_I_W_Y" project_name: "Guition.JC1060P470C_I_W_Y"
project_version: "v0.8d" project_version: "v0.8e"
# Passwords & Secrets # Passwords & Secrets
api_key: !secret esp-api_key api_key: !secret esp-api_key
@@ -124,13 +124,6 @@ substitutions:
# Home Assistant Entities - Actions # Home Assistant Entities - Actions
bedtime_button_entity: "input_button.bedtime_mode" bedtime_button_entity: "input_button.bedtime_mode"
# Home Assistant Entities - Climate Actions
climate_off_script: "script.master_bedroom_hvac_off"
climate_heat_script: "script.master_bedroom_hvac_heat"
climate_cool_script: "script.master_bedroom_hvac_cool"
climate_dry_script: "script.master_bedroom_hvac_dry"
climate_setpoint_script: "script.master_bedroom_setpoint_adjust"
#:########################################################################################:# #:########################################################################################:#
# PACKAGES: # PACKAGES:
# Included Common Packages # Included Common Packages
@@ -1024,9 +1017,9 @@ lvgl:
height: 82 height: 82
widgets: widgets:
- label: - label:
id: climate_navigation_button_label id: spare_navigation_button_label
align: CENTER align: CENTER
text: "Climate" text: "More Soon"
text_font: font_button text_font: font_button
text_color: 0xFFFFFF text_color: 0xFFFFFF
bg_color: 0x315843 bg_color: 0x315843
@@ -1035,12 +1028,6 @@ lvgl:
border_color: 0x548C6C border_color: 0x548C6C
radius: 16 radius: 16
on_click:
- lvgl.page.show:
id: climate_page
animation: MOVE_LEFT
time: 220ms
- button: - button:
id: bedtime_button id: bedtime_button
x: 645 x: 645
@@ -1077,242 +1064,6 @@ lvgl:
id: bedtime_button_label id: bedtime_button_label
text: "Hold for Bedtime" text: "Hold for Bedtime"
#:####################################################################################:#
# CLIMATE PAGE
#:####################################################################################:#
- id: climate_page
bg_color: 0x111923
bg_opa: COVER
widgets:
- label:
x: 35
y: 22
text: "Bedroom Climate"
text_font: font_title
text_color: 0xFFFFFF
- label:
align: TOP_RIGHT
x: -38
y: 28
text: "Initial controls"
text_font: font_small
text_color: 0x8FA0B3
# Main HVAC mode controls
- button:
id: climate_off_button
x: 35
y: 105
width: 220
height: 115
bg_color: 0x31443A
bg_opa: COVER
border_width: 2
border_color: 0x5A7A68
radius: 18
pressed:
bg_color: 0x456052
widgets:
- label:
align: CENTER
text: "Off"
text_font: font_button
text_color: 0xFFFFFF
on_click:
- homeassistant.action:
action: script.turn_on
data:
entity_id: "${climate_off_script}"
- button:
id: climate_heat_button
x: 280
y: 105
width: 220
height: 115
bg_color: 0x6A401B
bg_opa: COVER
border_width: 2
border_color: 0xA6672B
radius: 18
pressed:
bg_color: 0x8A5625
widgets:
- label:
align: CENTER
text: "Heat"
text_font: font_button
text_color: 0xFFFFFF
on_click:
- homeassistant.action:
action: script.turn_on
data:
entity_id: "${climate_heat_script}"
- button:
id: climate_cool_button
x: 525
y: 105
width: 220
height: 115
bg_color: 0x214F72
bg_opa: COVER
border_width: 2
border_color: 0x3E7FA7
radius: 18
pressed:
bg_color: 0x2E6A96
widgets:
- label:
align: CENTER
text: "Cool"
text_font: font_button
text_color: 0xFFFFFF
on_click:
- homeassistant.action:
action: script.turn_on
data:
entity_id: "${climate_cool_script}"
- button:
id: climate_dry_button
x: 770
y: 105
width: 220
height: 115
bg_color: 0x244C60
bg_opa: COVER
border_width: 2
border_color: 0x427B96
radius: 18
pressed:
bg_color: 0x32677F
widgets:
- label:
align: CENTER
text: "Dehumid"
text_font: font_button
text_color: 0xFFFFFF
on_click:
- homeassistant.action:
action: script.turn_on
data:
entity_id: "${climate_dry_script}"
# Setpoint controls
- button:
id: climate_setpoint_down_button
x: 145
y: 255
width: 220
height: 115
bg_color: 0x28313D
bg_opa: COVER
border_width: 2
border_color: 0x445365
radius: 18
pressed:
bg_color: 0x425166
widgets:
- label:
align: CENTER
text: "Setpoint -"
text_font: font_button
text_color: 0xFFFFFF
on_click:
- homeassistant.action:
action: script.master_bedroom_setpoint_adjust
data:
step: "-0.5"
- button:
id: climate_status_placeholder_button
x: 402
y: 255
width: 220
height: 115
bg_color: 0x28313D
bg_opa: COVER
border_width: 2
border_color: 0x445365
radius: 18
widgets:
- label:
align: CENTER
text: "More Soon"
text_font: font_button
text_color: 0xAEB8C4
- button:
id: climate_setpoint_up_button
x: 659
y: 255
width: 220
height: 115
bg_color: 0x28313D
bg_opa: COVER
border_width: 2
border_color: 0x445365
radius: 18
pressed:
bg_color: 0x425166
widgets:
- label:
align: CENTER
text: "Setpoint +"
text_font: font_button
text_color: 0xFFFFFF
on_click:
- homeassistant.action:
action: script.master_bedroom_setpoint_adjust
data:
step: "0.5"
- button:
id: climate_more_placeholder_button
x: 145
y: 405
width: 350
height: 105
bg_color: 0x28313D
bg_opa: COVER
border_width: 2
border_color: 0x445365
radius: 18
widgets:
- label:
align: CENTER
text: "Fan and Timer - More Soon"
text_font: font_button
text_color: 0xAEB8C4
- button:
id: climate_back_button
x: 529
y: 405
width: 350
height: 105
bg_color: 0x315843
bg_opa: COVER
border_width: 2
border_color: 0x548C6C
radius: 18
pressed:
bg_color: 0x416F55
widgets:
- label:
align: CENTER
text: "Back to Bedroom"
text_font: font_button
text_color: 0xFFFFFF
on_click:
- lvgl.page.show:
id: bedroom_page
animation: MOVE_RIGHT
time: 220ms
#:####################################################################################:# #:####################################################################################:#
# CLOCK PAGE # CLOCK PAGE
#:####################################################################################:# #:####################################################################################:#
@@ -1389,4 +1140,4 @@ lvgl:
text: "" text: ""
text_font: font_small text_font: font_small
text_color: 0x887799 text_color: 0x887799
clickable: false clickable: false