Edit esp-bedside-panel.yaml

This commit is contained in:
ESPHome Device Builder
2026-07-16 21:38:34 +12:00
parent 5be9125eec
commit aa4b632916
+14 -17
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:
# V0.8t 2026-07-16 Corrected Panasonic presets to quiet / powerful / none
# V0.8s 2026-07-16 Added direct Panasonic preset control and optimistic Nano-X # V0.8s 2026-07-16 Added direct Panasonic preset control and optimistic Nano-X
# V0.8r 2026-07-16 Added LVGL startup guards and reduced draw buffer to 6% # V0.8r 2026-07-16 Added LVGL startup guards and reduced draw buffer to 6%
# V0.8q 2026-07-16 Added direct profile helper selection, Nano-X and aligned Climate layout # V0.8q 2026-07-16 Added direct profile helper selection, Nano-X and aligned Climate layout
@@ -87,12 +88,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. Direct Panasonic Eco/Boost/None presets with optimistic Nano-X. (Layout V1.1)" description_comment: "Guition JC1060P470C_I_W_Y ESP32-P4 bedside control panel. Exact Panasonic quiet/powerful/none preset control with optimistic highlighting. (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: "v0.8s" project_version: "v0.8t"
# Passwords & Secrets # Passwords & Secrets
api_key: !secret esp-api_key api_key: !secret esp-api_key
@@ -1028,7 +1029,6 @@ script:
const auto helper = id(ha_climate_profile).state; const auto helper = id(ha_climate_profile).state;
if ( if (
preset == "eco" ||
preset == "quiet" || preset == "quiet" ||
preset == "Quiet" || preset == "Quiet" ||
helper == "Quiet" || helper == "Quiet" ||
@@ -1036,8 +1036,8 @@ script:
) { ) {
selected = 1; selected = 1;
} else if ( } else if (
preset == "boost" || preset == "powerful" ||
preset == "Boost" || preset == "Powerful" ||
helper == "Boost" || helper == "Boost" ||
helper == "boost" helper == "boost"
) { ) {
@@ -1061,7 +1061,6 @@ script:
const auto helper = id(ha_climate_profile).state; const auto helper = id(ha_climate_profile).state;
if ( if (
preset == "eco" ||
preset == "quiet" || preset == "quiet" ||
preset == "Quiet" || preset == "Quiet" ||
helper == "Quiet" || helper == "Quiet" ||
@@ -1069,8 +1068,8 @@ script:
) { ) {
selected = 1; selected = 1;
} else if ( } else if (
preset == "boost" || preset == "powerful" ||
preset == "Boost" || preset == "Powerful" ||
helper == "Boost" || helper == "Boost" ||
helper == "boost" helper == "boost"
) { ) {
@@ -1269,7 +1268,7 @@ text_sensor:
- script.execute: refresh_climate_controls - script.execute: refresh_climate_controls
# Actual Panasonic Comfort Cloud preset for this installation: # Actual Panasonic Comfort Cloud preset for this installation:
# eco = Quiet, boost = Boost, none = Normal. # quiet = Quiet, powerful = Boost, none = Normal.
- platform: homeassistant - platform: homeassistant
id: ha_climate_preset_mode id: ha_climate_preset_mode
entity_id: "${climate_entity}" entity_id: "${climate_entity}"
@@ -1978,7 +1977,6 @@ lvgl:
const auto helper = id(ha_climate_profile).state; const auto helper = id(ha_climate_profile).state;
if ( if (
preset == "eco" ||
preset == "quiet" || preset == "quiet" ||
preset == "Quiet" || preset == "Quiet" ||
helper == "Quiet" || helper == "Quiet" ||
@@ -1986,8 +1984,8 @@ lvgl:
) { ) {
selected = 1; selected = 1;
} else if ( } else if (
preset == "boost" || preset == "powerful" ||
preset == "Boost" || preset == "Powerful" ||
helper == "Boost" || helper == "Boost" ||
helper == "boost" helper == "boost"
) { ) {
@@ -2018,7 +2016,7 @@ lvgl:
action: climate.set_preset_mode action: climate.set_preset_mode
data: data:
entity_id: "${climate_entity}" entity_id: "${climate_entity}"
preset_mode: "eco" preset_mode: "quiet"
else: else:
- homeassistant.action: - homeassistant.action:
@@ -2064,7 +2062,6 @@ lvgl:
const auto helper = id(ha_climate_profile).state; const auto helper = id(ha_climate_profile).state;
if ( if (
preset == "eco" ||
preset == "quiet" || preset == "quiet" ||
preset == "Quiet" || preset == "Quiet" ||
helper == "Quiet" || helper == "Quiet" ||
@@ -2072,8 +2069,8 @@ lvgl:
) { ) {
selected = 1; selected = 1;
} else if ( } else if (
preset == "boost" || preset == "powerful" ||
preset == "Boost" || preset == "Powerful" ||
helper == "Boost" || helper == "Boost" ||
helper == "boost" helper == "boost"
) { ) {
@@ -2104,7 +2101,7 @@ lvgl:
action: climate.set_preset_mode action: climate.set_preset_mode
data: data:
entity_id: "${climate_entity}" entity_id: "${climate_entity}"
preset_mode: "boost" preset_mode: "powerful"
else: else:
- homeassistant.action: - homeassistant.action: