Lint
This commit is contained in:
@@ -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 #####
|
||||
|
||||
Reference in New Issue
Block a user