From 0654a54730e1f8486f60e5b80c4b9ee8e89a1346 Mon Sep 17 00:00:00 2001 From: Edward Firmo <94725493+edwardtfn@users.noreply.github.com> Date: Wed, 24 Apr 2024 10:26:11 +0200 Subject: [PATCH] Fix icon colors on home page --- esphome/nspanel_esphome_core.yaml | 9 ++++++++- nspanel_blueprint.yaml | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/esphome/nspanel_esphome_core.yaml b/esphome/nspanel_esphome_core.yaml index 31234a9..e7bab57 100644 --- a/esphome/nspanel_esphome_core.yaml +++ b/esphome/nspanel_esphome_core.yaml @@ -37,7 +37,14 @@ external_components: ref: nextion-23 # nextion-v432 components: - nextion # Change this when that PR#6192 gets released (2024.5?) - - psram + - psram # Change this when that PR#6526 gets released (2024.5?) + refresh: 300s + - source: + type: git + url: https://github.com/edwardtfn/esphome + ref: esp32ble-01 + components: + - esp32_ble_tracker # Change this when that PR#6585 gets released (2024.5?) refresh: 300s - source: type: git diff --git a/nspanel_blueprint.yaml b/nspanel_blueprint.yaml index f7cfdf7..c77db69 100644 --- a/nspanel_blueprint.yaml +++ b/nspanel_blueprint.yaml @@ -8991,7 +8991,7 @@ action: id: '{{ repeat.item.page }}.{{ repeat.item.component }}_icon' txt: '{{ entity.icon }}' continue_on_error: true - - if: '{{ overlap.icon_color is not sequence }}' # Do not color icon if it has overlap + - if: '{{ entity.icon_color != [200, 204, 200] }}' then: - *delay_default - service: 'esphome.{{ nspanel_name }}_component_color'