Edit esp-bedside-panel.yaml

This commit is contained in:
ESPHome Device Builder
2026-07-17 23:35:13 +12:00
parent 0794008667
commit 3cc5a757bc
+44 -62
View File
@@ -6,6 +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:
# V1.13 2026-07-17 Corrected Garage Lights switching and removed Atto value containers
# V1.12 2026-07-17 Re-centred Atto tiles, swapped status rows and simplified value tiles # V1.12 2026-07-17 Re-centred Atto tiles, swapped status rows and simplified value tiles
# V1.11 2026-07-17 Refined Atto button centring and rearranged vehicle status tiles # V1.11 2026-07-17 Refined Atto button centring and rearranged vehicle status tiles
# V1.10a 2026-07-17 Compile fix: use C++ comments inside lambda blocks # V1.10a 2026-07-17 Compile fix: use C++ comments inside lambda blocks
@@ -111,12 +112,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 control panel. Re-centred and simplified Atto status layout. (Layout V1.1)" description_comment: "Guition JC1060P470C_I_W_Y ESP32-P4 bedside control panel. Corrected Garage Lights control and borderless Atto values. (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: "v1.12" project_version: "v1.13"
# Passwords & Secrets # Passwords & Secrets
api_key: !secret esp-api_key api_key: !secret esp-api_key
@@ -2551,11 +2552,23 @@ lvgl:
radius: 18 radius: 18
pressed: pressed:
bg_color: 0x425166 bg_color: 0x425166
on_click: on_press:
- if:
condition:
lambda: |-
return id(ha_garage_lights).state;
then:
- homeassistant.action: - homeassistant.action:
action: switch.toggle action: switch.turn_off
data: data:
entity_id: "${garage_lights_entity}" entity_id: "switch.esp_garagelights_garage_lights"
else:
- homeassistant.action:
action: switch.turn_on
data:
entity_id: "switch.esp_garagelights_garage_lights"
- button: - button:
id: bathroom_fan_button id: bathroom_fan_button
@@ -3008,28 +3021,19 @@ lvgl:
#:################################################################################:# #:################################################################################:#
# VEHICLE VALUES / SEAT HEATING # VEHICLE VALUES / SEAT HEATING
#:################################################################################:# #:################################################################################:#
- obj: # Cabin, battery level and range are display-only labels.
id: atto_cabin_temperature_status # No parent object is used, so there is no border, outline or clipping.
x: 25
y: 22
width: 220
height: 92
bg_color: 0x1C2632
bg_opa: TRANSP
border_width: 0
widgets:
- label: - label:
align: LEFT_MID x: 42
x: 10 y: 53
y: 0
text: "\U000F050F" text: "\U000F050F"
text_font: font_mdi_vehicle text_font: font_mdi_vehicle
text_color: 0xFFFFFF text_color: 0xFFFFFF
- label: - label:
x: 44 x: 82
y: 11 y: 31
width: 166 width: 145
text: "Cabin" text: "Cabin"
text_font: font_small text_font: font_small
text_align: CENTER text_align: CENTER
@@ -3037,36 +3041,25 @@ lvgl:
- label: - label:
id: atto_cabin_temperature_value_label id: atto_cabin_temperature_value_label
x: 44 x: 82
y: 43 y: 60
width: 166 width: 145
text: "--.-°C" text: "--.-°C"
text_font: font_vehicle_bold text_font: font_vehicle_bold
text_align: CENTER text_align: CENTER
text_color: 0xFFFFFF text_color: 0xFFFFFF
- obj:
id: atto_battery_status
x: 272
y: 22
width: 220
height: 92
bg_color: 0x1C2632
bg_opa: TRANSP
border_width: 0
widgets:
- label: - label:
align: LEFT_MID x: 289
x: 10 y: 53
y: 0
text: "\U000F0079" text: "\U000F0079"
text_font: font_mdi_vehicle text_font: font_mdi_vehicle
text_color: 0xFFFFFF text_color: 0xFFFFFF
- label: - label:
x: 44 x: 329
y: 11 y: 31
width: 166 width: 145
text: "Level" text: "Level"
text_font: font_small text_font: font_small
text_align: CENTER text_align: CENTER
@@ -3074,36 +3067,25 @@ lvgl:
- label: - label:
id: atto_battery_value_label id: atto_battery_value_label
x: 44 x: 329
y: 43 y: 60
width: 166 width: 145
text: "--%" text: "--%"
text_font: font_vehicle_bold text_font: font_vehicle_bold
text_align: CENTER text_align: CENTER
text_color: 0xFFFFFF text_color: 0xFFFFFF
- obj:
id: atto_range_status
x: 519
y: 22
width: 220
height: 92
bg_color: 0x1C2632
bg_opa: TRANSP
border_width: 0
widgets:
- label: - label:
align: LEFT_MID x: 536
x: 10 y: 53
y: 0
text: "\U000F08F0" text: "\U000F08F0"
text_font: font_mdi_vehicle text_font: font_mdi_vehicle
text_color: 0xFFFFFF text_color: 0xFFFFFF
- label: - label:
x: 44 x: 576
y: 11 y: 31
width: 166 width: 145
text: "Range" text: "Range"
text_font: font_small text_font: font_small
text_align: CENTER text_align: CENTER
@@ -3111,9 +3093,9 @@ lvgl:
- label: - label:
id: atto_range_value_label id: atto_range_value_label
x: 44 x: 576
y: 43 y: 60
width: 166 width: 145
text: "-- km" text: "-- km"
text_font: font_vehicle_bold text_font: font_vehicle_bold
text_align: CENTER text_align: CENTER