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
+91 -109
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:
- homeassistant.action: - if:
action: switch.toggle condition:
data: lambda: |-
entity_id: "${garage_lights_entity}" return id(ha_garage_lights).state;
then:
- homeassistant.action:
action: switch.turn_off
data:
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,116 +3021,85 @@ 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 - label:
y: 22 x: 42
width: 220 y: 53
height: 92 text: "\U000F050F"
bg_color: 0x1C2632 text_font: font_mdi_vehicle
bg_opa: TRANSP text_color: 0xFFFFFF
border_width: 0
widgets:
- label:
align: LEFT_MID
x: 10
y: 0
text: "\U000F050F"
text_font: font_mdi_vehicle
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
text_color: 0xAEB8C4 text_color: 0xAEB8C4
- 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: - label:
id: atto_battery_status x: 289
x: 272 y: 53
y: 22 text: "\U000F0079"
width: 220 text_font: font_mdi_vehicle
height: 92 text_color: 0xFFFFFF
bg_color: 0x1C2632
bg_opa: TRANSP
border_width: 0
widgets:
- label:
align: LEFT_MID
x: 10
y: 0
text: "\U000F0079"
text_font: font_mdi_vehicle
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
text_color: 0xAEB8C4 text_color: 0xAEB8C4
- 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: - label:
id: atto_range_status x: 536
x: 519 y: 53
y: 22 text: "\U000F08F0"
width: 220 text_font: font_mdi_vehicle
height: 92 text_color: 0xFFFFFF
bg_color: 0x1C2632
bg_opa: TRANSP
border_width: 0
widgets:
- label:
align: LEFT_MID
x: 10
y: 0
text: "\U000F08F0"
text_font: font_mdi_vehicle
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
text_color: 0xAEB8C4 text_color: 0xAEB8C4
- 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
text_color: 0xFFFFFF text_color: 0xFFFFFF
- button: - button:
id: atto_passenger_seat_button id: atto_passenger_seat_button