Edit esp-bedside-panel.yaml

This commit is contained in:
ESPHome Device Builder
2026-07-17 23:47:31 +12:00
parent 3cc5a757bc
commit a81f56a261
+11 -18
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.14 2026-07-17 Changed Garage Lights to a direct click-triggered HA toggle
# V1.13 2026-07-17 Corrected Garage Lights switching and removed Atto value containers # 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
@@ -112,12 +113,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. Corrected Garage Lights control and borderless Atto values. (Layout V1.1)" description_comment: "Guition JC1060P470C_I_W_Y ESP32-P4 bedside control panel. Direct Garage Lights click 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.13" project_version: "v1.14"
# Passwords & Secrets # Passwords & Secrets
api_key: !secret esp-api_key api_key: !secret esp-api_key
@@ -2552,23 +2553,15 @@ lvgl:
radius: 18 radius: 18
pressed: pressed:
bg_color: 0x425166 bg_color: 0x425166
on_press: on_click:
- if: - logger.log:
condition: level: INFO
lambda: |- format: "Garage Lights button clicked; sending HA switch.toggle"
return id(ha_garage_lights).state;
then: - homeassistant.action:
- homeassistant.action: action: switch.toggle
action: switch.turn_off data:
data: entity_id: "switch.esp_garagelights_garage_lights"
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