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.30 2026-07-18 Made Downstairs Guests red when occupied and removed duplicate OTA config
|
||||||
# V1.29 2026-07-18 Perfected Atto charging alignment and expanded Security states
|
# V1.29 2026-07-18 Perfected Atto charging alignment and expanded Security states
|
||||||
# V1.28 2026-07-18 Restyled Atto Charging as top-row data with active red background
|
# V1.28 2026-07-18 Restyled Atto Charging as top-row data with active red background
|
||||||
# V1.27 2026-07-18 Added Open-Meteo rain sensors and rearranged Atto status/controls
|
# V1.27 2026-07-18 Added Open-Meteo rain sensors and rearranged Atto status/controls
|
||||||
@@ -130,12 +131,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. Aligned Atto charging data, garage-door status and optimistic Security camera selection. (Layout V1.1)"
|
description_comment: "Guition JC1060P470C_I_W_Y ESP32-P4 bedside control panel. Red occupied guest state, green-bordered inactive state and OTA configuration cleanup. (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.29"
|
project_version: "v1.30"
|
||||||
|
|
||||||
# Passwords & Secrets
|
# Passwords & Secrets
|
||||||
api_key: !secret esp-api_key
|
api_key: !secret esp-api_key
|
||||||
@@ -411,14 +412,6 @@ api:
|
|||||||
|
|
||||||
- script.execute: refresh_api_indicator
|
- script.execute: refresh_api_indicator
|
||||||
|
|
||||||
#:########################################################################################:#
|
|
||||||
# OTA:
|
|
||||||
# https://esphome.io/components/ota/esphome.html
|
|
||||||
#:########################################################################################:#
|
|
||||||
ota:
|
|
||||||
- platform: esphome
|
|
||||||
password: "${ota_pass}"
|
|
||||||
|
|
||||||
#:########################################################################################:#
|
#:########################################################################################:#
|
||||||
# TIME:
|
# TIME:
|
||||||
# RX8130 restores time at boot; Home Assistant corrects it when available
|
# RX8130 restores time at boot; Home Assistant corrects it when available
|
||||||
@@ -3228,8 +3221,12 @@ script:
|
|||||||
id: security_downstairs_guests_button
|
id: security_downstairs_guests_button
|
||||||
bg_color: !lambda |-
|
bg_color: !lambda |-
|
||||||
return id(ha_downstairs_guests_occupied).state
|
return id(ha_downstairs_guests_occupied).state
|
||||||
? lv_color_hex(0x315843)
|
? lv_color_hex(0xB53636)
|
||||||
: lv_color_hex(0x28313D);
|
: lv_color_hex(0x28313D);
|
||||||
|
border_color: !lambda |-
|
||||||
|
return id(ha_downstairs_guests_occupied).state
|
||||||
|
? lv_color_hex(0xE06C6C)
|
||||||
|
: lv_color_hex(0x548C6C);
|
||||||
|
|
||||||
- lvgl.label.update:
|
- lvgl.label.update:
|
||||||
id: security_garage_door_state_label
|
id: security_garage_door_state_label
|
||||||
@@ -4663,7 +4660,7 @@ lvgl:
|
|||||||
border_color: 0x548C6C
|
border_color: 0x548C6C
|
||||||
radius: 16
|
radius: 16
|
||||||
pressed:
|
pressed:
|
||||||
bg_color: 0x416F55
|
bg_color: 0x7D3030
|
||||||
|
|
||||||
on_click:
|
on_click:
|
||||||
- lvgl.page.show:
|
- lvgl.page.show:
|
||||||
|
|||||||
Reference in New Issue
Block a user