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
#:########################################################################################:#
# 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.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
@@ -87,12 +88,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. 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"
# Project Naming
project_name: "Guition.JC1060P470C_I_W_Y"
project_version: "v0.8s"
project_version: "v0.8t"
# Passwords & Secrets
api_key: !secret esp-api_key
@@ -1028,7 +1029,6 @@ script:
const auto helper = id(ha_climate_profile).state;
if (
preset == "eco" ||
preset == "quiet" ||
preset == "Quiet" ||
helper == "Quiet" ||
@@ -1036,8 +1036,8 @@ script:
) {
selected = 1;
} else if (
preset == "boost" ||
preset == "Boost" ||
preset == "powerful" ||
preset == "Powerful" ||
helper == "Boost" ||
helper == "boost"
) {
@@ -1061,7 +1061,6 @@ script:
const auto helper = id(ha_climate_profile).state;
if (
preset == "eco" ||
preset == "quiet" ||
preset == "Quiet" ||
helper == "Quiet" ||
@@ -1069,8 +1068,8 @@ script:
) {
selected = 1;
} else if (
preset == "boost" ||
preset == "Boost" ||
preset == "powerful" ||
preset == "Powerful" ||
helper == "Boost" ||
helper == "boost"
) {
@@ -1269,7 +1268,7 @@ text_sensor:
- script.execute: refresh_climate_controls
# Actual Panasonic Comfort Cloud preset for this installation:
# eco = Quiet, boost = Boost, none = Normal.
# quiet = Quiet, powerful = Boost, none = Normal.
- platform: homeassistant
id: ha_climate_preset_mode
entity_id: "${climate_entity}"
@@ -1978,7 +1977,6 @@ lvgl:
const auto helper = id(ha_climate_profile).state;
if (
preset == "eco" ||
preset == "quiet" ||
preset == "Quiet" ||
helper == "Quiet" ||
@@ -1986,8 +1984,8 @@ lvgl:
) {
selected = 1;
} else if (
preset == "boost" ||
preset == "Boost" ||
preset == "powerful" ||
preset == "Powerful" ||
helper == "Boost" ||
helper == "boost"
) {
@@ -2018,7 +2016,7 @@ lvgl:
action: climate.set_preset_mode
data:
entity_id: "${climate_entity}"
preset_mode: "eco"
preset_mode: "quiet"
else:
- homeassistant.action:
@@ -2064,7 +2062,6 @@ lvgl:
const auto helper = id(ha_climate_profile).state;
if (
preset == "eco" ||
preset == "quiet" ||
preset == "Quiet" ||
helper == "Quiet" ||
@@ -2072,8 +2069,8 @@ lvgl:
) {
selected = 1;
} else if (
preset == "boost" ||
preset == "Boost" ||
preset == "powerful" ||
preset == "Powerful" ||
helper == "Boost" ||
helper == "boost"
) {
@@ -2104,7 +2101,7 @@ lvgl:
action: climate.set_preset_mode
data:
entity_id: "${climate_entity}"
preset_mode: "boost"
preset_mode: "powerful"
else:
- homeassistant.action: