From 544880459af5ecc4a4d1ee0b362ce96926e0ac2f Mon Sep 17 00:00:00 2001 From: Edward Firmo <94725493+edwardtfn@users.noreply.github.com> Date: Mon, 19 Feb 2024 09:07:12 +0100 Subject: [PATCH] Lint --- esphome/nspanel_esphome_addon_upload_tft.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/esphome/nspanel_esphome_addon_upload_tft.yaml b/esphome/nspanel_esphome_addon_upload_tft.yaml index 78bbedc..a7f8dcc 100644 --- a/esphome/nspanel_esphome_addon_upload_tft.yaml +++ b/esphome/nspanel_esphome_addon_upload_tft.yaml @@ -14,6 +14,7 @@ substitutions: nextion_update_base_url: "https://raw.githubusercontent.com/Blackymas/NSPanel_HA_Blueprint/" ############################################## +# yamllint disable rule:comments-indentation api: on_client_connected: - script.execute: report_settings @@ -35,7 +36,7 @@ api: # # [!ATTENTION] # Requires the "Upload TFT" add-on for functionality. - - service: upload_tft + - service: upload_tft # yamllint disable-line rule:indentation variables: url: string then: @@ -52,6 +53,7 @@ api: if (std::string::npos != endPos) clean_url = clean_url.substr(0, endPos + 1); if (clean_url.empty() or clean_url == "default") url = id(tft_url); upload_tft->execute(url.c_str()); +# yamllint enable rule:comments-indentation button: ##### UPDATE TFT DISPLAY #####