Edit esp-bedside-panel.yaml
This commit is contained in:
@@ -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.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
|
||||||
# V1.10 2026-07-17 Refined Atto status layout and updated Garage Lights entity
|
# V1.10 2026-07-17 Refined Atto status layout and updated Garage Lights entity
|
||||||
@@ -110,12 +111,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. Refined Atto centring and rearranged vehicle controls. (Layout V1.1)"
|
description_comment: "Guition JC1060P470C_I_W_Y ESP32-P4 bedside control panel. Re-centred and simplified Atto status layout. (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.11"
|
project_version: "v1.12"
|
||||||
|
|
||||||
# Passwords & Secrets
|
# Passwords & Secrets
|
||||||
api_key: !secret esp-api_key
|
api_key: !secret esp-api_key
|
||||||
@@ -1206,7 +1207,7 @@ script:
|
|||||||
text: !lambda |-
|
text: !lambda |-
|
||||||
return id(ha_atto_charging).state
|
return id(ha_atto_charging).state
|
||||||
? std::string("CHARGING")
|
? std::string("CHARGING")
|
||||||
: std::string("NOT CHARGING");
|
: std::string("Off");
|
||||||
|
|
||||||
- lvgl.widget.update:
|
- lvgl.widget.update:
|
||||||
id: atto_charging_status
|
id: atto_charging_status
|
||||||
@@ -2778,7 +2779,7 @@ lvgl:
|
|||||||
- button:
|
- button:
|
||||||
id: atto_lock_button
|
id: atto_lock_button
|
||||||
x: 25
|
x: 25
|
||||||
y: 22
|
y: 130
|
||||||
width: 220
|
width: 220
|
||||||
height: 92
|
height: 92
|
||||||
bg_color: 0x28313D
|
bg_color: 0x28313D
|
||||||
@@ -2792,7 +2793,7 @@ lvgl:
|
|||||||
- label:
|
- label:
|
||||||
id: atto_lock_icon_label
|
id: atto_lock_icon_label
|
||||||
align: LEFT_MID
|
align: LEFT_MID
|
||||||
x: 18
|
x: 10
|
||||||
y: 0
|
y: 0
|
||||||
text: "\U000F033E"
|
text: "\U000F033E"
|
||||||
text_font: font_mdi_vehicle
|
text_font: font_mdi_vehicle
|
||||||
@@ -2800,9 +2801,9 @@ lvgl:
|
|||||||
|
|
||||||
- label:
|
- label:
|
||||||
id: atto_lock_button_label
|
id: atto_lock_button_label
|
||||||
x: 60
|
x: 44
|
||||||
y: 19
|
y: 19
|
||||||
width: 142
|
width: 166
|
||||||
text: "Locked\n(Hold)"
|
text: "Locked\n(Hold)"
|
||||||
text_font: font_small
|
text_font: font_small
|
||||||
text_align: CENTER
|
text_align: CENTER
|
||||||
@@ -2845,7 +2846,7 @@ lvgl:
|
|||||||
- button:
|
- button:
|
||||||
id: atto_charging_status
|
id: atto_charging_status
|
||||||
x: 272
|
x: 272
|
||||||
y: 22
|
y: 130
|
||||||
width: 220
|
width: 220
|
||||||
height: 92
|
height: 92
|
||||||
bg_color: 0x28313D
|
bg_color: 0x28313D
|
||||||
@@ -2856,16 +2857,16 @@ lvgl:
|
|||||||
widgets:
|
widgets:
|
||||||
- label:
|
- label:
|
||||||
align: LEFT_MID
|
align: LEFT_MID
|
||||||
x: 18
|
x: 10
|
||||||
y: 0
|
y: 0
|
||||||
text: "\U000F0084"
|
text: "\U000F0084"
|
||||||
text_font: font_mdi_vehicle
|
text_font: font_mdi_vehicle
|
||||||
text_color: 0xFFFFFF
|
text_color: 0xFFFFFF
|
||||||
|
|
||||||
- label:
|
- label:
|
||||||
x: 60
|
x: 44
|
||||||
y: 11
|
y: 11
|
||||||
width: 142
|
width: 166
|
||||||
text: "Atto Charging"
|
text: "Atto Charging"
|
||||||
text_font: font_small
|
text_font: font_small
|
||||||
text_align: CENTER
|
text_align: CENTER
|
||||||
@@ -2873,10 +2874,10 @@ lvgl:
|
|||||||
|
|
||||||
- label:
|
- label:
|
||||||
id: atto_charging_state_label
|
id: atto_charging_state_label
|
||||||
x: 60
|
x: 44
|
||||||
y: 43
|
y: 43
|
||||||
width: 142
|
width: 166
|
||||||
text: "NOT CHARGING"
|
text: "Off"
|
||||||
text_font: font_vehicle_bold
|
text_font: font_vehicle_bold
|
||||||
text_align: CENTER
|
text_align: CENTER
|
||||||
text_color: 0xFFFFFF
|
text_color: 0xFFFFFF
|
||||||
@@ -2884,7 +2885,7 @@ lvgl:
|
|||||||
- button:
|
- button:
|
||||||
id: atto_schedule_button
|
id: atto_schedule_button
|
||||||
x: 519
|
x: 519
|
||||||
y: 22
|
y: 130
|
||||||
width: 220
|
width: 220
|
||||||
height: 92
|
height: 92
|
||||||
bg_color: 0x28313D
|
bg_color: 0x28313D
|
||||||
@@ -2897,16 +2898,16 @@ lvgl:
|
|||||||
widgets:
|
widgets:
|
||||||
- label:
|
- label:
|
||||||
align: LEFT_MID
|
align: LEFT_MID
|
||||||
x: 18
|
x: 10
|
||||||
y: 0
|
y: 0
|
||||||
text: "\U000F00F0"
|
text: "\U000F00F0"
|
||||||
text_font: font_mdi_vehicle
|
text_font: font_mdi_vehicle
|
||||||
text_color: 0xFFFFFF
|
text_color: 0xFFFFFF
|
||||||
|
|
||||||
- label:
|
- label:
|
||||||
x: 60
|
x: 44
|
||||||
y: 11
|
y: 11
|
||||||
width: 142
|
width: 166
|
||||||
text: "Schedule"
|
text: "Schedule"
|
||||||
text_font: font_small
|
text_font: font_small
|
||||||
text_align: CENTER
|
text_align: CENTER
|
||||||
@@ -2914,9 +2915,9 @@ lvgl:
|
|||||||
|
|
||||||
- label:
|
- label:
|
||||||
id: atto_schedule_state_label
|
id: atto_schedule_state_label
|
||||||
x: 60
|
x: 44
|
||||||
y: 43
|
y: 43
|
||||||
width: 142
|
width: 166
|
||||||
text: "NOT ENABLED"
|
text: "NOT ENABLED"
|
||||||
text_font: font_vehicle_bold
|
text_font: font_vehicle_bold
|
||||||
text_align: CENTER
|
text_align: CENTER
|
||||||
@@ -2943,7 +2944,7 @@ lvgl:
|
|||||||
widgets:
|
widgets:
|
||||||
- label:
|
- label:
|
||||||
align: LEFT_MID
|
align: LEFT_MID
|
||||||
x: 18
|
x: 10
|
||||||
y: 0
|
y: 0
|
||||||
text: "\U000F0FA6"
|
text: "\U000F0FA6"
|
||||||
text_font: font_mdi_vehicle
|
text_font: font_mdi_vehicle
|
||||||
@@ -2951,9 +2952,9 @@ lvgl:
|
|||||||
|
|
||||||
- label:
|
- label:
|
||||||
id: atto_driver_seat_button_label
|
id: atto_driver_seat_button_label
|
||||||
x: 60
|
x: 44
|
||||||
y: 19
|
y: 19
|
||||||
width: 142
|
width: 166
|
||||||
text: "Driver Seat\n(Hold)"
|
text: "Driver Seat\n(Hold)"
|
||||||
text_font: font_small
|
text_font: font_small
|
||||||
text_align: CENTER
|
text_align: CENTER
|
||||||
@@ -3007,30 +3008,28 @@ lvgl:
|
|||||||
#:################################################################################:#
|
#:################################################################################:#
|
||||||
# VEHICLE VALUES / SEAT HEATING
|
# VEHICLE VALUES / SEAT HEATING
|
||||||
#:################################################################################:#
|
#:################################################################################:#
|
||||||
- button:
|
- obj:
|
||||||
id: atto_cabin_temperature_status
|
id: atto_cabin_temperature_status
|
||||||
x: 25
|
x: 25
|
||||||
y: 130
|
y: 22
|
||||||
width: 220
|
width: 220
|
||||||
height: 92
|
height: 92
|
||||||
bg_color: 0x1C2632
|
bg_color: 0x1C2632
|
||||||
bg_opa: COVER
|
bg_opa: TRANSP
|
||||||
border_width: 2
|
border_width: 0
|
||||||
border_color: 0x526276
|
|
||||||
radius: 17
|
|
||||||
widgets:
|
widgets:
|
||||||
- label:
|
- label:
|
||||||
align: LEFT_MID
|
align: LEFT_MID
|
||||||
x: 18
|
x: 10
|
||||||
y: 0
|
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: 60
|
x: 44
|
||||||
y: 11
|
y: 11
|
||||||
width: 142
|
width: 166
|
||||||
text: "Cabin"
|
text: "Cabin"
|
||||||
text_font: font_small
|
text_font: font_small
|
||||||
text_align: CENTER
|
text_align: CENTER
|
||||||
@@ -3038,38 +3037,36 @@ lvgl:
|
|||||||
|
|
||||||
- label:
|
- label:
|
||||||
id: atto_cabin_temperature_value_label
|
id: atto_cabin_temperature_value_label
|
||||||
x: 60
|
x: 44
|
||||||
y: 43
|
y: 43
|
||||||
width: 142
|
width: 166
|
||||||
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
|
||||||
|
|
||||||
- button:
|
- obj:
|
||||||
id: atto_battery_status
|
id: atto_battery_status
|
||||||
x: 272
|
x: 272
|
||||||
y: 130
|
y: 22
|
||||||
width: 220
|
width: 220
|
||||||
height: 92
|
height: 92
|
||||||
bg_color: 0x1C2632
|
bg_color: 0x1C2632
|
||||||
bg_opa: COVER
|
bg_opa: TRANSP
|
||||||
border_width: 2
|
border_width: 0
|
||||||
border_color: 0x526276
|
|
||||||
radius: 17
|
|
||||||
widgets:
|
widgets:
|
||||||
- label:
|
- label:
|
||||||
align: LEFT_MID
|
align: LEFT_MID
|
||||||
x: 18
|
x: 10
|
||||||
y: 0
|
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: 60
|
x: 44
|
||||||
y: 11
|
y: 11
|
||||||
width: 142
|
width: 166
|
||||||
text: "Level"
|
text: "Level"
|
||||||
text_font: font_small
|
text_font: font_small
|
||||||
text_align: CENTER
|
text_align: CENTER
|
||||||
@@ -3077,38 +3074,36 @@ lvgl:
|
|||||||
|
|
||||||
- label:
|
- label:
|
||||||
id: atto_battery_value_label
|
id: atto_battery_value_label
|
||||||
x: 60
|
x: 44
|
||||||
y: 43
|
y: 43
|
||||||
width: 142
|
width: 166
|
||||||
text: "--%"
|
text: "--%"
|
||||||
text_font: font_vehicle_bold
|
text_font: font_vehicle_bold
|
||||||
text_align: CENTER
|
text_align: CENTER
|
||||||
text_color: 0xFFFFFF
|
text_color: 0xFFFFFF
|
||||||
|
|
||||||
- button:
|
- obj:
|
||||||
id: atto_range_status
|
id: atto_range_status
|
||||||
x: 519
|
x: 519
|
||||||
y: 130
|
y: 22
|
||||||
width: 220
|
width: 220
|
||||||
height: 92
|
height: 92
|
||||||
bg_color: 0x1C2632
|
bg_color: 0x1C2632
|
||||||
bg_opa: COVER
|
bg_opa: TRANSP
|
||||||
border_width: 2
|
border_width: 0
|
||||||
border_color: 0x526276
|
|
||||||
radius: 17
|
|
||||||
widgets:
|
widgets:
|
||||||
- label:
|
- label:
|
||||||
align: LEFT_MID
|
align: LEFT_MID
|
||||||
x: 18
|
x: 10
|
||||||
y: 0
|
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: 60
|
x: 44
|
||||||
y: 11
|
y: 11
|
||||||
width: 142
|
width: 166
|
||||||
text: "Range"
|
text: "Range"
|
||||||
text_font: font_small
|
text_font: font_small
|
||||||
text_align: CENTER
|
text_align: CENTER
|
||||||
@@ -3116,9 +3111,9 @@ lvgl:
|
|||||||
|
|
||||||
- label:
|
- label:
|
||||||
id: atto_range_value_label
|
id: atto_range_value_label
|
||||||
x: 60
|
x: 44
|
||||||
y: 43
|
y: 43
|
||||||
width: 142
|
width: 166
|
||||||
text: "-- km"
|
text: "-- km"
|
||||||
text_font: font_vehicle_bold
|
text_font: font_vehicle_bold
|
||||||
text_align: CENTER
|
text_align: CENTER
|
||||||
@@ -3140,7 +3135,7 @@ lvgl:
|
|||||||
widgets:
|
widgets:
|
||||||
- label:
|
- label:
|
||||||
align: LEFT_MID
|
align: LEFT_MID
|
||||||
x: 18
|
x: 10
|
||||||
y: 0
|
y: 0
|
||||||
text: "\U000F0FA6"
|
text: "\U000F0FA6"
|
||||||
text_font: font_mdi_vehicle
|
text_font: font_mdi_vehicle
|
||||||
@@ -3148,9 +3143,9 @@ lvgl:
|
|||||||
|
|
||||||
- label:
|
- label:
|
||||||
id: atto_passenger_seat_button_label
|
id: atto_passenger_seat_button_label
|
||||||
x: 60
|
x: 44
|
||||||
y: 19
|
y: 19
|
||||||
width: 142
|
width: 166
|
||||||
text: "Passenger Seat\n(Hold)"
|
text: "Passenger Seat\n(Hold)"
|
||||||
text_font: font_small
|
text_font: font_small
|
||||||
text_align: CENTER
|
text_align: CENTER
|
||||||
|
|||||||
Reference in New Issue
Block a user