Edit esp-bedside-panel.yaml
This commit is contained in:
+91
-109
@@ -6,6 +6,7 @@
|
||||
# https://home.fox.co.nz/gitea/zorruno/zorruno-homeassistant/src/branch/master/esphome/esp-bedside-panel.yaml
|
||||
#:########################################################################################:#
|
||||
# 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.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
|
||||
@@ -111,12 +112,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. 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"
|
||||
|
||||
# Project Naming
|
||||
project_name: "Guition.JC1060P470C_I_W_Y"
|
||||
project_version: "v1.12"
|
||||
project_version: "v1.13"
|
||||
|
||||
# Passwords & Secrets
|
||||
api_key: !secret esp-api_key
|
||||
@@ -2551,11 +2552,23 @@ lvgl:
|
||||
radius: 18
|
||||
pressed:
|
||||
bg_color: 0x425166
|
||||
on_click:
|
||||
- homeassistant.action:
|
||||
action: switch.toggle
|
||||
data:
|
||||
entity_id: "${garage_lights_entity}"
|
||||
on_press:
|
||||
- if:
|
||||
condition:
|
||||
lambda: |-
|
||||
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:
|
||||
id: bathroom_fan_button
|
||||
@@ -3008,116 +3021,85 @@ lvgl:
|
||||
#:################################################################################:#
|
||||
# VEHICLE VALUES / SEAT HEATING
|
||||
#:################################################################################:#
|
||||
- obj:
|
||||
id: atto_cabin_temperature_status
|
||||
x: 25
|
||||
y: 22
|
||||
width: 220
|
||||
height: 92
|
||||
bg_color: 0x1C2632
|
||||
bg_opa: TRANSP
|
||||
border_width: 0
|
||||
widgets:
|
||||
- label:
|
||||
align: LEFT_MID
|
||||
x: 10
|
||||
y: 0
|
||||
text: "\U000F050F"
|
||||
text_font: font_mdi_vehicle
|
||||
text_color: 0xFFFFFF
|
||||
# Cabin, battery level and range are display-only labels.
|
||||
# No parent object is used, so there is no border, outline or clipping.
|
||||
- label:
|
||||
x: 42
|
||||
y: 53
|
||||
text: "\U000F050F"
|
||||
text_font: font_mdi_vehicle
|
||||
text_color: 0xFFFFFF
|
||||
|
||||
- label:
|
||||
x: 44
|
||||
y: 11
|
||||
width: 166
|
||||
text: "Cabin"
|
||||
text_font: font_small
|
||||
text_align: CENTER
|
||||
text_color: 0xAEB8C4
|
||||
- label:
|
||||
x: 82
|
||||
y: 31
|
||||
width: 145
|
||||
text: "Cabin"
|
||||
text_font: font_small
|
||||
text_align: CENTER
|
||||
text_color: 0xAEB8C4
|
||||
|
||||
- label:
|
||||
id: atto_cabin_temperature_value_label
|
||||
x: 44
|
||||
y: 43
|
||||
width: 166
|
||||
text: "--.-°C"
|
||||
text_font: font_vehicle_bold
|
||||
text_align: CENTER
|
||||
text_color: 0xFFFFFF
|
||||
- label:
|
||||
id: atto_cabin_temperature_value_label
|
||||
x: 82
|
||||
y: 60
|
||||
width: 145
|
||||
text: "--.-°C"
|
||||
text_font: font_vehicle_bold
|
||||
text_align: CENTER
|
||||
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:
|
||||
align: LEFT_MID
|
||||
x: 10
|
||||
y: 0
|
||||
text: "\U000F0079"
|
||||
text_font: font_mdi_vehicle
|
||||
text_color: 0xFFFFFF
|
||||
- label:
|
||||
x: 289
|
||||
y: 53
|
||||
text: "\U000F0079"
|
||||
text_font: font_mdi_vehicle
|
||||
text_color: 0xFFFFFF
|
||||
|
||||
- label:
|
||||
x: 44
|
||||
y: 11
|
||||
width: 166
|
||||
text: "Level"
|
||||
text_font: font_small
|
||||
text_align: CENTER
|
||||
text_color: 0xAEB8C4
|
||||
- label:
|
||||
x: 329
|
||||
y: 31
|
||||
width: 145
|
||||
text: "Level"
|
||||
text_font: font_small
|
||||
text_align: CENTER
|
||||
text_color: 0xAEB8C4
|
||||
|
||||
- label:
|
||||
id: atto_battery_value_label
|
||||
x: 44
|
||||
y: 43
|
||||
width: 166
|
||||
text: "--%"
|
||||
text_font: font_vehicle_bold
|
||||
text_align: CENTER
|
||||
text_color: 0xFFFFFF
|
||||
- label:
|
||||
id: atto_battery_value_label
|
||||
x: 329
|
||||
y: 60
|
||||
width: 145
|
||||
text: "--%"
|
||||
text_font: font_vehicle_bold
|
||||
text_align: CENTER
|
||||
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:
|
||||
align: LEFT_MID
|
||||
x: 10
|
||||
y: 0
|
||||
text: "\U000F08F0"
|
||||
text_font: font_mdi_vehicle
|
||||
text_color: 0xFFFFFF
|
||||
- label:
|
||||
x: 536
|
||||
y: 53
|
||||
text: "\U000F08F0"
|
||||
text_font: font_mdi_vehicle
|
||||
text_color: 0xFFFFFF
|
||||
|
||||
- label:
|
||||
x: 44
|
||||
y: 11
|
||||
width: 166
|
||||
text: "Range"
|
||||
text_font: font_small
|
||||
text_align: CENTER
|
||||
text_color: 0xAEB8C4
|
||||
- label:
|
||||
x: 576
|
||||
y: 31
|
||||
width: 145
|
||||
text: "Range"
|
||||
text_font: font_small
|
||||
text_align: CENTER
|
||||
text_color: 0xAEB8C4
|
||||
|
||||
- label:
|
||||
id: atto_range_value_label
|
||||
x: 44
|
||||
y: 43
|
||||
width: 166
|
||||
text: "-- km"
|
||||
text_font: font_vehicle_bold
|
||||
text_align: CENTER
|
||||
text_color: 0xFFFFFF
|
||||
- label:
|
||||
id: atto_range_value_label
|
||||
x: 576
|
||||
y: 60
|
||||
width: 145
|
||||
text: "-- km"
|
||||
text_font: font_vehicle_bold
|
||||
text_align: CENTER
|
||||
text_color: 0xFFFFFF
|
||||
|
||||
- button:
|
||||
id: atto_passenger_seat_button
|
||||
|
||||
Reference in New Issue
Block a user