Lint
This commit is contained in:
@@ -14,6 +14,7 @@ substitutions:
|
|||||||
nextion_update_base_url: "https://raw.githubusercontent.com/Blackymas/NSPanel_HA_Blueprint/"
|
nextion_update_base_url: "https://raw.githubusercontent.com/Blackymas/NSPanel_HA_Blueprint/"
|
||||||
##############################################
|
##############################################
|
||||||
|
|
||||||
|
# yamllint disable rule:comments-indentation
|
||||||
api:
|
api:
|
||||||
on_client_connected:
|
on_client_connected:
|
||||||
- script.execute: report_settings
|
- script.execute: report_settings
|
||||||
@@ -35,7 +36,7 @@ api:
|
|||||||
#
|
#
|
||||||
# [!ATTENTION]
|
# [!ATTENTION]
|
||||||
# Requires the "Upload TFT" add-on for functionality.
|
# Requires the "Upload TFT" add-on for functionality.
|
||||||
- service: upload_tft
|
- service: upload_tft # yamllint disable-line rule:indentation
|
||||||
variables:
|
variables:
|
||||||
url: string
|
url: string
|
||||||
then:
|
then:
|
||||||
@@ -52,6 +53,7 @@ api:
|
|||||||
if (std::string::npos != endPos) clean_url = clean_url.substr(0, endPos + 1);
|
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);
|
if (clean_url.empty() or clean_url == "default") url = id(tft_url);
|
||||||
upload_tft->execute(url.c_str());
|
upload_tft->execute(url.c_str());
|
||||||
|
# yamllint enable rule:comments-indentation
|
||||||
|
|
||||||
button:
|
button:
|
||||||
##### UPDATE TFT DISPLAY #####
|
##### UPDATE TFT DISPLAY #####
|
||||||
|
|||||||
Reference in New Issue
Block a user