Add validation actions (#693)

* Add validation action

* Clean-up yaml

Removed trailing spaces

* Clean-up yaml

Removed trailing spaces

* Clean-up yaml

Removed trailing spaces

* Clean-up yaml

Removed trailing spaces

* Clean-up yaml

Removed trailing spaces

* Update validate_yaml.yml

* Validate on push

Only for nspanel_esphome.yaml and nspanel_blueprint.yaml

* Extending warnings for +255-char lines

* Update validate_yaml.yml

* Clean-up yaml

* Update validate_yaml.yml

* Clean-up yaml

* Clean-up yaml

* Clean-up yaml

* Clean-up yaml

* Clean-up yaml

* Update and rename validate_yaml.yml to validate_blueprint.yml

* Create validate_esphome.yml

* Clean-up yaml
This commit is contained in:
Edward Firmo
2023-04-19 13:16:28 +02:00
committed by GitHub
parent cf5829af8f
commit 60c43e99bd
8 changed files with 184 additions and 139 deletions

View File

@@ -0,0 +1,19 @@
name: Validate Blueprint YAML
on:
push:
paths:
- "nspanel_blueprint.yaml"
pull_request:
#schedule:
# - cron: "0 0 * * *"
workflow_dispatch:
jobs:
code_scan:
name: Validate Blueprint YAML
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v3
- name: Validate nspanel_blueprint.yaml
run: yamllint -c "./.yamllint/rules.yml" nspanel_blueprint.yaml

19
.github/workflows/validate_esphome.yml vendored Normal file
View File

@@ -0,0 +1,19 @@
name: Validate ESPHome YAML
on:
push:
paths:
- "nspanel_esphome.yaml"
pull_request:
#schedule:
# - cron: "0 0 * * *"
workflow_dispatch:
jobs:
code_scan:
name: Validate Blueprint YAML
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v3
- name: Validate nspanel_esphome.yaml
run: yamllint -c "./.yamllint/rules.yml" nspanel_esphome.yaml

7
.yamllint/rules.yml Normal file
View File

@@ -0,0 +1,7 @@
extends: relaxed
rules:
# 255 chars should be enough, but don't fail if a line is longer
line-length:
max: 255
level: warning

View File

@@ -1,4 +1,4 @@
# Please insert into the default file "configuration.yaml # Please insert into the default file "configuration.yaml"
# Folder must be changed to the directory where the tft file (Nextion Editor) will be uploaded # Folder must be changed to the directory where the tft file (Nextion Editor) will be uploaded
########### ###########
# #

View File

@@ -195,7 +195,7 @@ The goal was to create a version that allows everyone to use the NSpanel fully l
home_outdoor_temp_label_color: home_outdoor_temp_label_color:
name: Outdoor Temperature Sensor - LABEL COLOR (Optional) name: Outdoor Temperature Sensor - LABEL COLOR (Optional)
description: '* *Page "HOME" - Label color which should be displayed*' description: '* *Page "HOME" - Label color which should be displayed*'
default: [255,255,255] #65535 White default: [255, 255, 255] #65535 White
selector: &color-selector selector: &color-selector
color_rgb: color_rgb:
indoortemp: indoortemp:
@@ -215,12 +215,12 @@ The goal was to create a version that allows everyone to use the NSpanel fully l
home_indoor_temp_icon_color: home_indoor_temp_icon_color:
name: Indoor Temperature Sensor - ICON COLOR (Optional) name: Indoor Temperature Sensor - ICON COLOR (Optional)
description: '* *Page "HOME" - Icon color which should be displayed*' description: '* *Page "HOME" - Icon color which should be displayed*'
default: [255,255,255] #65535 White default: [255, 255, 255] #65535 White
selector: *color-selector selector: *color-selector
home_indoor_temp_label_color: home_indoor_temp_label_color:
name: Indoor Temperature Sensor - LABEL COLOR (Optional) name: Indoor Temperature Sensor - LABEL COLOR (Optional)
description: '* *Page "HOME" - Label color which should be displayed*' description: '* *Page "HOME" - Label color which should be displayed*'
default: [255,255,255] #65535 White default: [255, 255, 255] #65535 White
selector: *color-selector selector: *color-selector
##### Sensors - Page Home ##### ##### Sensors - Page Home #####
##### PLACEHOLDER ###################################################################### ##### PLACEHOLDER ######################################################################
@@ -249,12 +249,12 @@ The goal was to create a version that allows everyone to use the NSpanel fully l
home_value01_icon_color: home_value01_icon_color:
name: Sensor 01 - ICON COLOR (Optional) name: Sensor 01 - ICON COLOR (Optional)
description: '* *Page "HOME" - Icon color which should be displayed*' description: '* *Page "HOME" - Icon color which should be displayed*'
default: [200,204,200] #52857 Grey super light default: [200, 204, 200] #52857 Grey super light
selector: *color-selector selector: *color-selector
home_value01_label_color: home_value01_label_color:
name: Sensor 01 - LABEL COLOR (Optional) name: Sensor 01 - LABEL COLOR (Optional)
description: '* *Page "HOME" - Label color which should be displayed*' description: '* *Page "HOME" - Label color which should be displayed*'
default: [200,204,200] #52857 Grey super light default: [200, 204, 200] #52857 Grey super light
selector: *color-selector selector: *color-selector
home_value02: home_value02:
name: Sensor 02 - ENTITY (Optional) name: Sensor 02 - ENTITY (Optional)
@@ -272,12 +272,12 @@ The goal was to create a version that allows everyone to use the NSpanel fully l
home_value02_icon_color: home_value02_icon_color:
name: Sensor 02 - ICON COLOR (Optional) name: Sensor 02 - ICON COLOR (Optional)
description: '* *Page "HOME" - Icon color which should be displayed*' description: '* *Page "HOME" - Icon color which should be displayed*'
default: [200,204,200] #52857 Grey super light default: [200, 204, 200] #52857 Grey super light
selector: *color-selector selector: *color-selector
home_value02_label_color: home_value02_label_color:
name: Sensor 02 - LABEL COLOR (Optional) name: Sensor 02 - LABEL COLOR (Optional)
description: '* *Page "HOME" - Label color which should be displayed*' description: '* *Page "HOME" - Label color which should be displayed*'
default: [200,204,200] #52857 Grey super light default: [200, 204, 200] #52857 Grey super light
selector: *color-selector selector: *color-selector
home_value03: home_value03:
name: Sensor 03 - ENTITY (Optional) name: Sensor 03 - ENTITY (Optional)
@@ -295,12 +295,12 @@ The goal was to create a version that allows everyone to use the NSpanel fully l
home_value03_icon_color: home_value03_icon_color:
name: Sensor 03 - ICON COLOR (Optional) name: Sensor 03 - ICON COLOR (Optional)
description: '* *Page "HOME" - Icon color which should be displayed*' description: '* *Page "HOME" - Icon color which should be displayed*'
default: [200,204,200] #52857 Grey super light default: [200, 204, 200] #52857 Grey super light
selector: *color-selector selector: *color-selector
home_value03_label_color: home_value03_label_color:
name: Sensor 03 - LABEL COLOR (Optional) name: Sensor 03 - LABEL COLOR (Optional)
description: '* *Page "HOME" - Label color which should be displayed*' description: '* *Page "HOME" - Label color which should be displayed*'
default: [200,204,200] #52857 Grey super light default: [200, 204, 200] #52857 Grey super light
selector: *color-selector selector: *color-selector
##### Chips - Page Home ##### ##### Chips - Page Home #####
##### PLACEHOLDER ###################################################################### ##### PLACEHOLDER ######################################################################
@@ -333,7 +333,7 @@ The goal was to create a version that allows everyone to use the NSpanel fully l
chip01_icon_color: chip01_icon_color:
name: Chip 01 - ICON COLOR (Optional) name: Chip 01 - ICON COLOR (Optional)
description: '* *Page "HOME" - Icon color which should be displayed*' description: '* *Page "HOME" - Icon color which should be displayed*'
default: [128,128,128] #33808 Grey light default: [128, 128, 128] #33808 Grey light
selector: *color-selector selector: *color-selector
chip02: chip02:
name: Chip 02 - ENTITY (Optional) name: Chip 02 - ENTITY (Optional)
@@ -348,7 +348,7 @@ The goal was to create a version that allows everyone to use the NSpanel fully l
chip02_icon_color: chip02_icon_color:
name: Chip 02 - ICON COLOR (Optional) name: Chip 02 - ICON COLOR (Optional)
description: '* *Page "HOME" - Icon color which should be displayed*' description: '* *Page "HOME" - Icon color which should be displayed*'
default: [128,128,128] #33808 Grey light default: [128, 128, 128] #33808 Grey light
selector: *color-selector selector: *color-selector
chip03: chip03:
name: Chip 03 - ENTITY (Optional) name: Chip 03 - ENTITY (Optional)
@@ -363,7 +363,7 @@ The goal was to create a version that allows everyone to use the NSpanel fully l
chip03_icon_color: chip03_icon_color:
name: Chip 03 - ICON COLOR (Optional) name: Chip 03 - ICON COLOR (Optional)
description: '* *Page "HOME" - Icon color which should be displayed*' description: '* *Page "HOME" - Icon color which should be displayed*'
default: [128,128,128] #33808 Grey light default: [128, 128, 128] #33808 Grey light
selector: *color-selector selector: *color-selector
chip04: chip04:
name: Chip 04 - ENTITY (Optional) name: Chip 04 - ENTITY (Optional)
@@ -378,7 +378,7 @@ The goal was to create a version that allows everyone to use the NSpanel fully l
chip04_icon_color: chip04_icon_color:
name: Chip 04 - ICON COLOR (Optional) name: Chip 04 - ICON COLOR (Optional)
description: '* *Page "HOME" - Icon color which should be displayed*' description: '* *Page "HOME" - Icon color which should be displayed*'
default: [128,128,128] #33808 Grey light default: [128, 128, 128] #33808 Grey light
selector: *color-selector selector: *color-selector
chip05: chip05:
name: Chip 05 - ENTITY (Optional) name: Chip 05 - ENTITY (Optional)
@@ -393,7 +393,7 @@ The goal was to create a version that allows everyone to use the NSpanel fully l
chip05_icon_color: chip05_icon_color:
name: Chip 05 - ICON COLOR (Optional) name: Chip 05 - ICON COLOR (Optional)
description: '* *Page "HOME" - Icon color which should be displayed*' description: '* *Page "HOME" - Icon color which should be displayed*'
default: [128,128,128] #33808 Grey light default: [128, 128, 128] #33808 Grey light
selector: *color-selector selector: *color-selector
chip06: chip06:
name: Chip 06 - ENTITY (Optional) name: Chip 06 - ENTITY (Optional)
@@ -408,7 +408,7 @@ The goal was to create a version that allows everyone to use the NSpanel fully l
chip06_icon_color: chip06_icon_color:
name: Chip 06 - ICON COLOR (Optional) name: Chip 06 - ICON COLOR (Optional)
description: '* *Page "HOME" - Icon color which should be displayed*' description: '* *Page "HOME" - Icon color which should be displayed*'
default: [128,128,128] #33808 Grey light default: [128, 128, 128] #33808 Grey light
selector: *color-selector selector: *color-selector
chip07: chip07:
name: Chip 07 - ENTITY (Optional) name: Chip 07 - ENTITY (Optional)
@@ -423,7 +423,7 @@ The goal was to create a version that allows everyone to use the NSpanel fully l
chip07_icon_color: chip07_icon_color:
name: Chip 07 - ICON COLOR (Optional) name: Chip 07 - ICON COLOR (Optional)
description: '* *Page "HOME" - Icon color which should be displayed*' description: '* *Page "HOME" - Icon color which should be displayed*'
default: [128,128,128] #33808 Grey light default: [128, 128, 128] #33808 Grey light
selector: *color-selector selector: *color-selector
##### Climate - Page Climate ##### ##### Climate - Page Climate #####
@@ -497,7 +497,7 @@ The goal was to create a version that allows everyone to use the NSpanel fully l
home_button05_icon_color: home_button05_icon_color:
name: QR Code - ICON COLOR (Optional) name: QR Code - ICON COLOR (Optional)
description: '* *Page "HOME" - Icon color which should be displayed (default color is set)*' description: '* *Page "HOME" - Icon color which should be displayed (default color is set)*'
default: [200,204,200] #52857 Grey super light default: [200, 204, 200] #52857 Grey super light
selector: *color-selector selector: *color-selector
##### Page Home - Hardware Buttons ##### ##### Page Home - Hardware Buttons #####
@@ -568,7 +568,7 @@ The goal was to create a version that allows everyone to use the NSpanel fully l
left_button_color: left_button_color:
name: Left hardware button - LABEL COLOR (Optional) name: Left hardware button - LABEL COLOR (Optional)
description: '* *Page "HOME" - LABEL color which should be displayed*' description: '* *Page "HOME" - LABEL color which should be displayed*'
default: [200,204,200] #52857 Grey super light default: [200, 204, 200] #52857 Grey super light
selector: *color-selector selector: *color-selector
relay_2_local_fallback: relay_2_local_fallback:
name: Activate relay 2 local fallback - TRUE/FALSE (Optional) name: Activate relay 2 local fallback - TRUE/FALSE (Optional)
@@ -601,7 +601,7 @@ The goal was to create a version that allows everyone to use the NSpanel fully l
right_button_color: right_button_color:
name: Right hardware button - LABEL COLOR (Optional) name: Right hardware button - LABEL COLOR (Optional)
description: '* *Page "HOME" - LABEL color which should be displayed*' description: '* *Page "HOME" - LABEL color which should be displayed*'
default: [200,204,200] #52857 Grey super light default: [200, 204, 200] #52857 Grey super light
selector: *color-selector selector: *color-selector
##### Button pages ##### ##### Button pages #####
@@ -685,7 +685,7 @@ The goal was to create a version that allows everyone to use the NSpanel fully l
entity01_icon_color: entity01_icon_color:
name: Button 01 - ICON COLOR (Optional) name: Button 01 - ICON COLOR (Optional)
description: '* *Page "BUTTONPAGE01" - Icon color which should be displayed when button is on*' description: '* *Page "BUTTONPAGE01" - Icon color which should be displayed when button is on*'
default: [0,128,248] #1055 Blue default: [0, 128, 248] #1055 Blue
selector: *color-selector selector: *color-selector
entity01_confirm: entity01_confirm:
name: Confirm execution of the button press - TRUE/FALSE (Optional) name: Confirm execution of the button press - TRUE/FALSE (Optional)
@@ -712,7 +712,7 @@ The goal was to create a version that allows everyone to use the NSpanel fully l
entity02_icon_color: entity02_icon_color:
name: Button 02 - ICON COLOR (Optional) name: Button 02 - ICON COLOR (Optional)
description: '* *Page "BUTTONPAGE01" - Icon color which should be displayed when button is on*' description: '* *Page "BUTTONPAGE01" - Icon color which should be displayed when button is on*'
default: [0,128,248] #1055 Blue default: [0, 128, 248] #1055 Blue
selector: *color-selector selector: *color-selector
entity02_confirm: entity02_confirm:
name: Confirm execution of the button press - TRUE/FALSE (Optional) name: Confirm execution of the button press - TRUE/FALSE (Optional)
@@ -739,7 +739,7 @@ The goal was to create a version that allows everyone to use the NSpanel fully l
entity03_icon_color: entity03_icon_color:
name: Button 03 - ICON COLOR (Optional) name: Button 03 - ICON COLOR (Optional)
description: '* *Page "BUTTONPAGE01" - Icon color which should be displayed when button is on*' description: '* *Page "BUTTONPAGE01" - Icon color which should be displayed when button is on*'
default: [0,128,248] #1055 Blue default: [0, 128, 248] #1055 Blue
selector: *color-selector selector: *color-selector
entity03_confirm: entity03_confirm:
name: Confirm execution of the button press - TRUE/FALSE (Optional) name: Confirm execution of the button press - TRUE/FALSE (Optional)
@@ -766,7 +766,7 @@ The goal was to create a version that allows everyone to use the NSpanel fully l
entity04_icon_color: entity04_icon_color:
name: Button 04 - ICON COLOR (Optional) name: Button 04 - ICON COLOR (Optional)
description: '* *Page "BUTTONPAGE01" - Icon color which should be displayed when button is on*' description: '* *Page "BUTTONPAGE01" - Icon color which should be displayed when button is on*'
default: [0,128,248] #1055 Blue default: [0, 128, 248] #1055 Blue
selector: *color-selector selector: *color-selector
entity04_confirm: entity04_confirm:
name: Confirm execution of the button press - TRUE/FALSE (Optional) name: Confirm execution of the button press - TRUE/FALSE (Optional)
@@ -793,7 +793,7 @@ The goal was to create a version that allows everyone to use the NSpanel fully l
entity05_icon_color: entity05_icon_color:
name: Button 05 - ICON COLOR (Optional) name: Button 05 - ICON COLOR (Optional)
description: '* *Page "BUTTONPAGE01" - Icon color which should be displayed when button is on*' description: '* *Page "BUTTONPAGE01" - Icon color which should be displayed when button is on*'
default: [0,128,248] #1055 Blue default: [0, 128, 248] #1055 Blue
selector: *color-selector selector: *color-selector
entity05_confirm: entity05_confirm:
name: Confirm execution of the button press - TRUE/FALSE (Optional) name: Confirm execution of the button press - TRUE/FALSE (Optional)
@@ -820,7 +820,7 @@ The goal was to create a version that allows everyone to use the NSpanel fully l
entity06_icon_color: entity06_icon_color:
name: Button 06 - ICON COLOR (Optional) name: Button 06 - ICON COLOR (Optional)
description: '* *Page "BUTTONPAGE01" - Icon color which should be displayed when button is on*' description: '* *Page "BUTTONPAGE01" - Icon color which should be displayed when button is on*'
default: [0,128,248] #1055 Blue default: [0, 128, 248] #1055 Blue
selector: *color-selector selector: *color-selector
entity06_confirm: entity06_confirm:
name: Confirm execution of the button press - TRUE/FALSE (Optional) name: Confirm execution of the button press - TRUE/FALSE (Optional)
@@ -847,7 +847,7 @@ The goal was to create a version that allows everyone to use the NSpanel fully l
entity07_icon_color: entity07_icon_color:
name: Button 07 - ICON COLOR (Optional) name: Button 07 - ICON COLOR (Optional)
description: '* *Page "BUTTONPAGE01" - Icon color which should be displayed when button is on*' description: '* *Page "BUTTONPAGE01" - Icon color which should be displayed when button is on*'
default: [0,128,248] #1055 Blue default: [0, 128, 248] #1055 Blue
selector: *color-selector selector: *color-selector
entity07_confirm: entity07_confirm:
name: Confirm execution of the button press - TRUE/FALSE (Optional) name: Confirm execution of the button press - TRUE/FALSE (Optional)
@@ -874,7 +874,7 @@ The goal was to create a version that allows everyone to use the NSpanel fully l
entity08_icon_color: entity08_icon_color:
name: Button 08 - ICON COLOR (Optional) name: Button 08 - ICON COLOR (Optional)
description: '* *Page "BUTTONPAGE01" - Icon color which should be displayed when button is on*' description: '* *Page "BUTTONPAGE01" - Icon color which should be displayed when button is on*'
default: [0,128,248] #1055 Blue default: [0, 128, 248] #1055 Blue
selector: *color-selector selector: *color-selector
entity08_confirm: entity08_confirm:
name: Confirm execution of the button press - TRUE/FALSE (Optional) name: Confirm execution of the button press - TRUE/FALSE (Optional)
@@ -912,7 +912,7 @@ The goal was to create a version that allows everyone to use the NSpanel fully l
entity09_icon_color: entity09_icon_color:
name: Button 09 - ICON COLOR (Optional) name: Button 09 - ICON COLOR (Optional)
description: '* *Page "BUTTONPAGE02" - Icon color which should be displayed when button is on*' description: '* *Page "BUTTONPAGE02" - Icon color which should be displayed when button is on*'
default: [0,128,248] #1055 Blue default: [0, 128, 248] #1055 Blue
selector: *color-selector selector: *color-selector
entity09_confirm: entity09_confirm:
name: Confirm execution of the button press - TRUE/FALSE (Optional) name: Confirm execution of the button press - TRUE/FALSE (Optional)
@@ -939,7 +939,7 @@ The goal was to create a version that allows everyone to use the NSpanel fully l
entity10_icon_color: entity10_icon_color:
name: Button 10 - ICON COLOR (Optional) name: Button 10 - ICON COLOR (Optional)
description: '* *Page "BUTTONPAGE02" - Icon color which should be displayed when button is on*' description: '* *Page "BUTTONPAGE02" - Icon color which should be displayed when button is on*'
default: [0,128,248] #1055 Blue default: [0, 128, 248] #1055 Blue
selector: *color-selector selector: *color-selector
entity10_confirm: entity10_confirm:
name: Confirm execution of the button press - TRUE/FALSE (Optional) name: Confirm execution of the button press - TRUE/FALSE (Optional)
@@ -966,7 +966,7 @@ The goal was to create a version that allows everyone to use the NSpanel fully l
entity11_icon_color: entity11_icon_color:
name: Button 11 - ICON COLOR (Optional) name: Button 11 - ICON COLOR (Optional)
description: '* *Page "BUTTONPAGE02" - Icon color which should be displayed when button is on*' description: '* *Page "BUTTONPAGE02" - Icon color which should be displayed when button is on*'
default: [0,128,248] #1055 Blue default: [0, 128, 248] #1055 Blue
selector: *color-selector selector: *color-selector
entity11_confirm: entity11_confirm:
name: Confirm execution of the button press - TRUE/FALSE (Optional) name: Confirm execution of the button press - TRUE/FALSE (Optional)
@@ -993,7 +993,7 @@ The goal was to create a version that allows everyone to use the NSpanel fully l
entity12_icon_color: entity12_icon_color:
name: Button 12 - ICON COLOR (Optional) name: Button 12 - ICON COLOR (Optional)
description: '* *Page "BUTTONPAGE02" - Icon color which should be displayed when button is on*' description: '* *Page "BUTTONPAGE02" - Icon color which should be displayed when button is on*'
default: [0,128,248] #1055 Blue default: [0, 128, 248] #1055 Blue
selector: *color-selector selector: *color-selector
entity12_confirm: entity12_confirm:
name: Confirm execution of the button press - TRUE/FALSE (Optional) name: Confirm execution of the button press - TRUE/FALSE (Optional)
@@ -1020,7 +1020,7 @@ The goal was to create a version that allows everyone to use the NSpanel fully l
entity13_icon_color: entity13_icon_color:
name: Button 13 - ICON COLOR (Optional) name: Button 13 - ICON COLOR (Optional)
description: '* *Page "BUTTONPAGE02" - Icon color which should be displayed when button is on*' description: '* *Page "BUTTONPAGE02" - Icon color which should be displayed when button is on*'
default: [0,128,248] #1055 Blue default: [0, 128, 248] #1055 Blue
selector: *color-selector selector: *color-selector
entity13_confirm: entity13_confirm:
name: Confirm execution of the button press - TRUE/FALSE (Optional) name: Confirm execution of the button press - TRUE/FALSE (Optional)
@@ -1047,7 +1047,7 @@ The goal was to create a version that allows everyone to use the NSpanel fully l
entity14_icon_color: entity14_icon_color:
name: Button 14 - ICON COLOR (Optional) name: Button 14 - ICON COLOR (Optional)
description: '* *Page "BUTTONPAGE02" - Icon color which should be displayed when button is on*' description: '* *Page "BUTTONPAGE02" - Icon color which should be displayed when button is on*'
default: [0,128,248] #1055 Blue default: [0, 128, 248] #1055 Blue
selector: *color-selector selector: *color-selector
entity14_confirm: entity14_confirm:
name: Confirm execution of the button press - TRUE/FALSE (Optional) name: Confirm execution of the button press - TRUE/FALSE (Optional)
@@ -1074,7 +1074,7 @@ The goal was to create a version that allows everyone to use the NSpanel fully l
entity15_icon_color: entity15_icon_color:
name: Button 15 - ICON COLOR (Optional) name: Button 15 - ICON COLOR (Optional)
description: '* *Page "BUTTONPAGE02" - Icon color which should be displayed when button is on*' description: '* *Page "BUTTONPAGE02" - Icon color which should be displayed when button is on*'
default: [0,128,248] #1055 Blue default: [0, 128, 248] #1055 Blue
selector: *color-selector selector: *color-selector
entity15_confirm: entity15_confirm:
name: Confirm execution of the button press - TRUE/FALSE (Optional) name: Confirm execution of the button press - TRUE/FALSE (Optional)
@@ -1101,7 +1101,7 @@ The goal was to create a version that allows everyone to use the NSpanel fully l
entity16_icon_color: entity16_icon_color:
name: Button 16 - ICON COLOR (Optional) name: Button 16 - ICON COLOR (Optional)
description: '* *Page "BUTTONPAGE02" - Icon color which should be displayed when button is on*' description: '* *Page "BUTTONPAGE02" - Icon color which should be displayed when button is on*'
default: [0,128,248] #1055 Blue default: [0, 128, 248] #1055 Blue
selector: *color-selector selector: *color-selector
entity16_confirm: entity16_confirm:
name: Confirm execution of the button press - TRUE/FALSE (Optional) name: Confirm execution of the button press - TRUE/FALSE (Optional)
@@ -1139,7 +1139,7 @@ The goal was to create a version that allows everyone to use the NSpanel fully l
entity17_icon_color: entity17_icon_color:
name: Button 17 - ICON COLOR (Optional) name: Button 17 - ICON COLOR (Optional)
description: '* *Page "BUTTONPAGE03" - Icon color which should be displayed when button is on*' description: '* *Page "BUTTONPAGE03" - Icon color which should be displayed when button is on*'
default: [0,128,248] #1055 Blue default: [0, 128, 248] #1055 Blue
selector: *color-selector selector: *color-selector
entity17_confirm: entity17_confirm:
name: Confirm execution of the button press - TRUE/FALSE (Optional) name: Confirm execution of the button press - TRUE/FALSE (Optional)
@@ -1166,7 +1166,7 @@ The goal was to create a version that allows everyone to use the NSpanel fully l
entity18_icon_color: entity18_icon_color:
name: Button 18 - ICON COLOR (Optional) name: Button 18 - ICON COLOR (Optional)
description: '* *Page "BUTTONPAGE03" - Icon color which should be displayed when button is on*' description: '* *Page "BUTTONPAGE03" - Icon color which should be displayed when button is on*'
default: [0,128,248] #1055 Blue default: [0, 128, 248] #1055 Blue
selector: *color-selector selector: *color-selector
entity18_confirm: entity18_confirm:
name: Confirm execution of the button press - TRUE/FALSE (Optional) name: Confirm execution of the button press - TRUE/FALSE (Optional)
@@ -1193,7 +1193,7 @@ The goal was to create a version that allows everyone to use the NSpanel fully l
entity19_icon_color: entity19_icon_color:
name: Button 19 - ICON COLOR (Optional) name: Button 19 - ICON COLOR (Optional)
description: '* *Page "BUTTONPAGE03" - Icon color which should be displayed when button is on*' description: '* *Page "BUTTONPAGE03" - Icon color which should be displayed when button is on*'
default: [0,128,248] #1055 Blue default: [0, 128, 248] #1055 Blue
selector: *color-selector selector: *color-selector
entity19_confirm: entity19_confirm:
name: Confirm execution of the button press - TRUE/FALSE (Optional) name: Confirm execution of the button press - TRUE/FALSE (Optional)
@@ -1220,7 +1220,7 @@ The goal was to create a version that allows everyone to use the NSpanel fully l
entity20_icon_color: entity20_icon_color:
name: Button 20 - ICON COLOR (Optional) name: Button 20 - ICON COLOR (Optional)
description: '* *Page "BUTTONPAGE03" - Icon color which should be displayed when button is on*' description: '* *Page "BUTTONPAGE03" - Icon color which should be displayed when button is on*'
default: [0,128,248] #1055 Blue default: [0, 128, 248] #1055 Blue
selector: *color-selector selector: *color-selector
entity20_confirm: entity20_confirm:
name: Confirm execution of the button press - TRUE/FALSE (Optional) name: Confirm execution of the button press - TRUE/FALSE (Optional)
@@ -1247,7 +1247,7 @@ The goal was to create a version that allows everyone to use the NSpanel fully l
entity21_icon_color: entity21_icon_color:
name: Button 21 - ICON COLOR (Optional) name: Button 21 - ICON COLOR (Optional)
description: '* *Page "BUTTONPAGE03" - Icon color which should be displayed when button is on*' description: '* *Page "BUTTONPAGE03" - Icon color which should be displayed when button is on*'
default: [0,128,248] #1055 Blue default: [0, 128, 248] #1055 Blue
selector: *color-selector selector: *color-selector
entity21_confirm: entity21_confirm:
name: Confirm execution of the button press - TRUE/FALSE (Optional) name: Confirm execution of the button press - TRUE/FALSE (Optional)
@@ -1274,7 +1274,7 @@ The goal was to create a version that allows everyone to use the NSpanel fully l
entity22_icon_color: entity22_icon_color:
name: Button 22 - ICON COLOR (Optional) name: Button 22 - ICON COLOR (Optional)
description: '* *Page "BUTTONPAGE03" - Icon color which should be displayed when button is on*' description: '* *Page "BUTTONPAGE03" - Icon color which should be displayed when button is on*'
default: [0,128,248] #1055 Blue default: [0, 128, 248] #1055 Blue
selector: *color-selector selector: *color-selector
entity22_confirm: entity22_confirm:
name: Confirm execution of the button press - TRUE/FALSE (Optional) name: Confirm execution of the button press - TRUE/FALSE (Optional)
@@ -1301,7 +1301,7 @@ The goal was to create a version that allows everyone to use the NSpanel fully l
entity23_icon_color: entity23_icon_color:
name: Button 23 - ICON COLOR (Optional) name: Button 23 - ICON COLOR (Optional)
description: '* *Page "BUTTONPAGE03" - Icon color which should be displayed when button is on*' description: '* *Page "BUTTONPAGE03" - Icon color which should be displayed when button is on*'
default: [0,128,248] #1055 Blue default: [0, 128, 248] #1055 Blue
selector: *color-selector selector: *color-selector
entity23_confirm: entity23_confirm:
name: Confirm execution of the button press - TRUE/FALSE (Optional) name: Confirm execution of the button press - TRUE/FALSE (Optional)
@@ -1328,7 +1328,7 @@ The goal was to create a version that allows everyone to use the NSpanel fully l
entity24_icon_color: entity24_icon_color:
name: Button 24 - ICON COLOR (Optional) name: Button 24 - ICON COLOR (Optional)
description: '* *Page "BUTTONPAGE03" - Icon color which should be displayed when button is on*' description: '* *Page "BUTTONPAGE03" - Icon color which should be displayed when button is on*'
default: [0,128,248] #1055 Blue default: [0, 128, 248] #1055 Blue
selector: *color-selector selector: *color-selector
entity24_confirm: entity24_confirm:
name: Confirm execution of the button press - TRUE/FALSE (Optional) name: Confirm execution of the button press - TRUE/FALSE (Optional)
@@ -1366,7 +1366,7 @@ The goal was to create a version that allows everyone to use the NSpanel fully l
entity25_icon_color: entity25_icon_color:
name: Button 25 - ICON COLOR (Optional) name: Button 25 - ICON COLOR (Optional)
description: '* *Page "BUTTONPAGE04" - Icon color which should be displayed when button is on*' description: '* *Page "BUTTONPAGE04" - Icon color which should be displayed when button is on*'
default: [0,128,248] #1055 Blue default: [0, 128, 248] #1055 Blue
selector: *color-selector selector: *color-selector
entity25_confirm: entity25_confirm:
name: Confirm execution of the button press - TRUE/FALSE (Optional) name: Confirm execution of the button press - TRUE/FALSE (Optional)
@@ -1393,7 +1393,7 @@ The goal was to create a version that allows everyone to use the NSpanel fully l
entity26_icon_color: entity26_icon_color:
name: Button 26 - ICON COLOR (Optional) name: Button 26 - ICON COLOR (Optional)
description: '* *Page "BUTTONPAGE04" - Icon color which should be displayed when button is on*' description: '* *Page "BUTTONPAGE04" - Icon color which should be displayed when button is on*'
default: [0,128,248] #1055 Blue default: [0, 128, 248] #1055 Blue
selector: *color-selector selector: *color-selector
entity26_confirm: entity26_confirm:
name: Confirm execution of the button press - TRUE/FALSE (Optional) name: Confirm execution of the button press - TRUE/FALSE (Optional)
@@ -1420,7 +1420,7 @@ The goal was to create a version that allows everyone to use the NSpanel fully l
entity27_icon_color: entity27_icon_color:
name: Button 27 - ICON COLOR (Optional) name: Button 27 - ICON COLOR (Optional)
description: '* *Page "BUTTONPAGE04" - Icon color which should be displayed when button is on*' description: '* *Page "BUTTONPAGE04" - Icon color which should be displayed when button is on*'
default: [0,128,248] #1055 Blue default: [0, 128, 248] #1055 Blue
selector: *color-selector selector: *color-selector
entity27_confirm: entity27_confirm:
name: Confirm execution of the button press - TRUE/FALSE (Optional) name: Confirm execution of the button press - TRUE/FALSE (Optional)
@@ -1447,7 +1447,7 @@ The goal was to create a version that allows everyone to use the NSpanel fully l
entity28_icon_color: entity28_icon_color:
name: Button 28 - ICON COLOR (Optional) name: Button 28 - ICON COLOR (Optional)
description: '* *Page "BUTTONPAGE04" - Icon color which should be displayed when button is on*' description: '* *Page "BUTTONPAGE04" - Icon color which should be displayed when button is on*'
default: [0,128,248] #1055 Blue default: [0, 128, 248] #1055 Blue
selector: *color-selector selector: *color-selector
entity28_confirm: entity28_confirm:
name: Confirm execution of the button press - TRUE/FALSE (Optional) name: Confirm execution of the button press - TRUE/FALSE (Optional)
@@ -1474,7 +1474,7 @@ The goal was to create a version that allows everyone to use the NSpanel fully l
entity29_icon_color: entity29_icon_color:
name: Button 29 - ICON COLOR (Optional) name: Button 29 - ICON COLOR (Optional)
description: '* *Page "BUTTONPAGE04" - Icon color which should be displayed when button is on*' description: '* *Page "BUTTONPAGE04" - Icon color which should be displayed when button is on*'
default: [0,128,248] #1055 Blue default: [0, 128, 248] #1055 Blue
selector: *color-selector selector: *color-selector
entity29_confirm: entity29_confirm:
name: Confirm execution of the button press - TRUE/FALSE (Optional) name: Confirm execution of the button press - TRUE/FALSE (Optional)
@@ -1501,7 +1501,7 @@ The goal was to create a version that allows everyone to use the NSpanel fully l
entity30_icon_color: entity30_icon_color:
name: Button 30 - ICON COLOR (Optional) name: Button 30 - ICON COLOR (Optional)
description: '* *Page "BUTTONPAGE04" - Icon color which should be displayed when button is on*' description: '* *Page "BUTTONPAGE04" - Icon color which should be displayed when button is on*'
default: [0,128,248] #1055 Blue default: [0, 128, 248] #1055 Blue
selector: *color-selector selector: *color-selector
entity30_confirm: entity30_confirm:
name: Confirm execution of the button press - TRUE/FALSE (Optional) name: Confirm execution of the button press - TRUE/FALSE (Optional)
@@ -1528,7 +1528,7 @@ The goal was to create a version that allows everyone to use the NSpanel fully l
entity31_icon_color: entity31_icon_color:
name: Button 31 - ICON COLOR (Optional) name: Button 31 - ICON COLOR (Optional)
description: '* *Page "BUTTONPAGE04" - Icon color which should be displayed when button is on*' description: '* *Page "BUTTONPAGE04" - Icon color which should be displayed when button is on*'
default: [0,128,248] #1055 Blue default: [0, 128, 248] #1055 Blue
selector: *color-selector selector: *color-selector
entity31_confirm: entity31_confirm:
name: Confirm execution of the button press - TRUE/FALSE (Optional) name: Confirm execution of the button press - TRUE/FALSE (Optional)
@@ -1555,7 +1555,7 @@ The goal was to create a version that allows everyone to use the NSpanel fully l
entity32_icon_color: entity32_icon_color:
name: Button 32 - ICON COLOR (Optional) name: Button 32 - ICON COLOR (Optional)
description: '* *Page "BUTTONPAGE04" - Icon color which should be displayed when button is on*' description: '* *Page "BUTTONPAGE04" - Icon color which should be displayed when button is on*'
default: [0,128,248] #1055 Blue default: [0, 128, 248] #1055 Blue
selector: *color-selector selector: *color-selector
entity32_confirm: entity32_confirm:
name: Confirm execution of the button press - TRUE/FALSE (Optional) name: Confirm execution of the button press - TRUE/FALSE (Optional)
@@ -1590,7 +1590,7 @@ The goal was to create a version that allows everyone to use the NSpanel fully l
home_button06_icon_color: home_button06_icon_color:
name: Entity page - ICON COLOR (Optional) name: Entity page - ICON COLOR (Optional)
description: '* *Page "HOME" - Icon color which should be displayed (default color is set)*' description: '* *Page "HOME" - Icon color which should be displayed (default color is set)*'
default: [200,204,200] #52857 Grey super light default: [200, 204, 200] #52857 Grey super light
selector: *color-selector selector: *color-selector
##### Entity pages - Labels ##### ##### Entity pages - Labels #####
##### PLACEHOLDER ###################################################################### ##### PLACEHOLDER ######################################################################
@@ -2225,12 +2225,12 @@ The goal was to create a version that allows everyone to use the NSpanel fully l
home_button04_icon_color01: home_button04_icon_color01:
name: Notification read - ICON COLOR (Optional) name: Notification read - ICON COLOR (Optional)
description: '* *Page "HOME" - Icon color which should be displayed (default color is set)*' description: '* *Page "HOME" - Icon color which should be displayed (default color is set)*'
default: [200,204,200] #52857 Grey super light #Grey super light default: [200, 204, 200] #52857 Grey super light #Grey super light
selector: *color-selector selector: *color-selector
home_button04_icon_color02: home_button04_icon_color02:
name: Notification unread - ICON COLOR (Optional) name: Notification unread - ICON COLOR (Optional)
description: '* *Page "HOME" - Icon color which should be displayed (default color is set)*' description: '* *Page "HOME" - Icon color which should be displayed (default color is set)*'
default: [248,0,0] #63488 Red default: [248, 0, 0] #63488 Red
selector: *color-selector selector: *color-selector
relay01_icon: relay01_icon:
name: Relay 01 - ICON (Optional) name: Relay 01 - ICON (Optional)
@@ -2240,7 +2240,7 @@ The goal was to create a version that allows everyone to use the NSpanel fully l
relay01_icon_color: relay01_icon_color:
name: Relay 01 - ICON COLOR (Optional) name: Relay 01 - ICON COLOR (Optional)
description: '* *Page "HOME" - Icon color which should be displayed (default color is set)*' description: '* *Page "HOME" - Icon color which should be displayed (default color is set)*'
default: [128,128,128] #33808 Grey light default: [128, 128, 128] #33808 Grey light
selector: *color-selector selector: *color-selector
relay02_icon: relay02_icon:
name: Relay 02 - ICON (Optional) name: Relay 02 - ICON (Optional)
@@ -2250,7 +2250,7 @@ The goal was to create a version that allows everyone to use the NSpanel fully l
relay02_icon_color: relay02_icon_color:
name: Relay - ICON COLOR (Optional) name: Relay - ICON COLOR (Optional)
description: '* *Page "HOME" - Icon color which should be displayed (default color is set)*' description: '* *Page "HOME" - Icon color which should be displayed (default color is set)*'
default: [128,128,128] #33808 Grey light default: [128, 128, 128] #33808 Grey light
selector: *color-selector selector: *color-selector
thermostat_icon: thermostat_icon:
name: Thermostat - ICON (Optional) name: Thermostat - ICON (Optional)
@@ -2265,17 +2265,17 @@ The goal was to create a version that allows everyone to use the NSpanel fully l
thermostat_icon_color: thermostat_icon_color:
name: Thermostat / Heat - ICON COLOR (Optional) name: Thermostat / Heat - ICON COLOR (Optional)
description: '* *Page "HOME" - Icon color which should be displayed (default color is set)*' description: '* *Page "HOME" - Icon color which should be displayed (default color is set)*'
default: [128,128,128] #33808 Grey light default: [128, 128, 128] #33808 Grey light
selector: *color-selector selector: *color-selector
time_label_color: time_label_color:
name: Time - LABEL COLOR (Optional) name: Time - LABEL COLOR (Optional)
description: '* *Page "HOME" - Label color which should be displayed (default color is set)*' description: '* *Page "HOME" - Label color which should be displayed (default color is set)*'
default: [255,255,255] #65535 White default: [255, 255, 255] #65535 White
selector: *color-selector selector: *color-selector
date_label_color: date_label_color:
name: Date - LABEL COLOR (Optional) name: Date - LABEL COLOR (Optional)
description: '* *Page "HOME" - Label color which should be displayed (default color is set)*' description: '* *Page "HOME" - Label color which should be displayed (default color is set)*'
default: [255,255,255] #65535 White default: [255, 255, 255] #65535 White
selector: *color-selector selector: *color-selector
###### Muss noch Raus ############################################################################################################################################################################### ###### Muss noch Raus ###############################################################################################################################################################################
@@ -2367,13 +2367,13 @@ variables:
##### Nextion dict #### ##### Nextion dict ####
nextion: nextion:
colors: colors:
blue: "1055" # rgb(0,128,248) blue: "1055" # rgb(0, 128, 248)
grey_dark: "10597" # rgb(40,44,40) grey_dark: "10597" # rgb(40, 44, 40)
grey_light: "33808" # rgb(128,128,128) grey_light: "33808" # rgb(128, 128, 128)
grey_super_light: "52857" # rgb(200,204,200) grey_super_light: "52857" # rgb(200, 204, 200)
red: "63488" # rgb(248,0,0) red: "63488" # rgb(248, 0, 0)
white: "65535" # rgb(255,255,255) white: "65535" # rgb(255, 255, 255)
yellow: "65472" # rgb(248,248,0) yellow: "65472" # rgb(248, 248, 0)
commands: commands:
text_printf: "esphome.{{ nspanel_name }}_send_command_text_printf" text_printf: "esphome.{{ nspanel_name }}_send_command_text_printf"
value: "esphome.{{ nspanel_name }}_send_command_value" value: "esphome.{{ nspanel_name }}_send_command_value"