From bedd30c68fd267d3c9a840c4735e6c522f9c6c73 Mon Sep 17 00:00:00 2001 From: Edward Firmo <94725493+edwardtfn@users.noreply.github.com> Date: Wed, 3 Apr 2024 14:44:26 +0200 Subject: [PATCH] Lint --- .github/ISSUE_TEMPLATE/bug.yml | 6 +++--- nspanel_blueprint.yaml | 12 ++++++------ 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.yml index af5415a..aa81162 100644 --- a/.github/ISSUE_TEMPLATE/bug.yml +++ b/.github/ISSUE_TEMPLATE/bug.yml @@ -28,7 +28,7 @@ body: attributes: label: TFT Version description: Enter the TFT version number. - placeholder: e.g., 4.3.1 + placeholder: e.g., 4.3.2 validations: required: false @@ -36,7 +36,7 @@ body: attributes: label: ESPHome Version description: Enter the ESPHome version number. - placeholder: e.g., 4.3.1 + placeholder: e.g., 4.3.2 validations: required: false @@ -44,7 +44,7 @@ body: attributes: label: Blueprint Version description: Enter the Blueprint version number. - placeholder: e.g., 4.3.1 + placeholder: e.g., 4.3.2 validations: required: false diff --git a/nspanel_blueprint.yaml b/nspanel_blueprint.yaml index 160c044..49344d1 100644 --- a/nspanel_blueprint.yaml +++ b/nspanel_blueprint.yaml @@ -9976,12 +9976,12 @@ action: continue_on_error: true - if: '{{ entity is defined and entity.icon is defined and entity.icon is string and entity.icon | length > 0 }}' then: - - *delay_default - - service: 'esphome.{{ nspanel_name }}_component_text' - data: - id: icon_state - txt: '{{ entity.icon }}' - continue_on_error: true + - *delay_default + - service: 'esphome.{{ nspanel_name }}_component_text' + data: + id: icon_state + txt: '{{ entity.icon }}' + continue_on_error: true - if: '{{ entity is defined and entity.name is defined and entity.name is string and entity.name | length > 0 }}' then: - *delay_default