Update BETA_blueprint.yaml
This commit is contained in:
@@ -5,7 +5,7 @@ blueprint:
|
||||
input:
|
||||
nspanel_name:
|
||||
name: NSPanel Name
|
||||
description: Name NSPanel
|
||||
description: Name NSPanel. Esphome Dive Name is "Nspanel Buero" then HA make it the entity name "nspanel_buero". So nspanel_buero must be entered here. The correct name can also be found if you search for "last_click" under Entities -> sensor.nspanel_buero_last_click
|
||||
selector:
|
||||
text: {}
|
||||
language:
|
||||
@@ -38,7 +38,7 @@ blueprint:
|
||||
text: {}
|
||||
nextion_inited:
|
||||
name: NSPanel "Nextion Switch - nextion_inited"
|
||||
description: 'nextion_inited is set up via esphome and shows the state of the Nspanel - NSPanel ready after Reboot (same NSPanel as **"last click"**) Example *"switch.nspanel_buro_nextion_inited"*'
|
||||
description: 'nextion_inited is set up via esphome and shows the state of the Nspanel - NSPanel ready after Reboot (same NSPanel as **"last click"**) Example *"switch.nspanel_buero_nextion_inited"*'
|
||||
selector:
|
||||
entity: {}
|
||||
outdoortemp:
|
||||
@@ -669,6 +669,7 @@ variables:
|
||||
command_printf: "esphome.{{ nspanel_name }}_send_command_printf"
|
||||
command_font_color: "esphome.{{ nspanel_name }}_send_command_font_color"
|
||||
command_background_color: "esphome.{{ nspanel_name }}_send_command_background_color"
|
||||
tft_upload: esphome.{{ nspanel_name }}_upload_tft
|
||||
tft_path: !input "tft_path"
|
||||
humidity: !input "humidity"
|
||||
hotwatertemp: !input "hotwatertemp"
|
||||
@@ -1673,7 +1674,7 @@ action:
|
||||
- service: "{{ command_text_printf }}"
|
||||
data:
|
||||
component: coversettings.a03
|
||||
message: '{{ (state_attr(entity_long, "position") | int ) |round(0) }} %'
|
||||
message: '{{ (state_attr(entity_long, "current_position") | int ) |round(0) }} %'
|
||||
- service: "{{ command_text_printf }}"
|
||||
data:
|
||||
component: coversettings.a04
|
||||
@@ -1725,7 +1726,7 @@ action:
|
||||
- service: "{{ command_text_printf }}"
|
||||
data:
|
||||
component: coversettings.a03
|
||||
message: '{{ (state_attr(entity_long, "position") | int ) |round(0) }} %'
|
||||
message: '{{ (state_attr(entity_long, "current_position") | int ) |round(0) }} %'
|
||||
|
||||
##### Page Coversettings - Close Coversettings #####
|
||||
- choose:
|
||||
@@ -1749,7 +1750,7 @@ action:
|
||||
sequence:
|
||||
- delay:
|
||||
seconds: 2
|
||||
- service: esphome.nspanel_buero_upload_tft
|
||||
- service: "{{ tft_upload }}"
|
||||
data: {}
|
||||
|
||||
##### Humidity #####
|
||||
@@ -2225,7 +2226,7 @@ action:
|
||||
- service: "{{ command_text_printf }}"
|
||||
data:
|
||||
component: buttonpage01.button01bri
|
||||
message: '{{ (state_attr(entity01, "position") | int ) |round(0) }}%'
|
||||
message: '{{ (state_attr(entity01, "current_position") | int ) |round(0) }}%'
|
||||
|
||||
|
||||
################################################################################
|
||||
@@ -2544,7 +2545,7 @@ action:
|
||||
- service: "{{ command_text_printf }}"
|
||||
data:
|
||||
component: buttonpage01.button02bri
|
||||
message: '{{ (state_attr(entity02, "position") | int ) |round(0) }}%'
|
||||
message: '{{ (state_attr(entity02, "current_position") | int ) |round(0) }}%'
|
||||
|
||||
################################################################################
|
||||
####### buttonpage01.button03 ########################################################################################
|
||||
@@ -2862,7 +2863,7 @@ action:
|
||||
- service: "{{ command_text_printf }}"
|
||||
data:
|
||||
component: buttonpage01.button03bri
|
||||
message: '{{ (state_attr(entity03, "position") | int ) |round(0) }}%'
|
||||
message: '{{ (state_attr(entity03, "current_position") | int ) |round(0) }}%'
|
||||
|
||||
################################################################################
|
||||
####### buttonpage01.button04 ########################################################################################
|
||||
@@ -3180,7 +3181,7 @@ action:
|
||||
- service: "{{ command_text_printf }}"
|
||||
data:
|
||||
component: buttonpage01.button04bri
|
||||
message: '{{ (state_attr(entity04, "position") | int ) |round(0) }}%'
|
||||
message: '{{ (state_attr(entity04, "current_position") | int ) |round(0) }}%'
|
||||
|
||||
################################################################################
|
||||
####### buttonpage01.button05 ########################################################################################
|
||||
@@ -3498,7 +3499,7 @@ action:
|
||||
- service: "{{ command_text_printf }}"
|
||||
data:
|
||||
component: buttonpage01.button05bri
|
||||
message: '{{ (state_attr(entity05, "position") | int ) |round(0) }}%'
|
||||
message: '{{ (state_attr(entity05, "current_position") | int ) |round(0) }}%'
|
||||
|
||||
################################################################################
|
||||
####### buttonpage01.button06 ########################################################################################
|
||||
@@ -3816,7 +3817,7 @@ action:
|
||||
- service: "{{ command_text_printf }}"
|
||||
data:
|
||||
component: buttonpage01.button06bri
|
||||
message: '{{ (state_attr(entity06, "position") | int ) |round(0) }}%'
|
||||
message: '{{ (state_attr(entity06, "current_position") | int ) |round(0) }}%'
|
||||
|
||||
################################################################################
|
||||
####### buttonpage01.button07 ########################################################################################
|
||||
@@ -4134,7 +4135,7 @@ action:
|
||||
- service: "{{ command_text_printf }}"
|
||||
data:
|
||||
component: buttonpage01.button07bri
|
||||
message: '{{ (state_attr(entity07, "position") | int ) |round(0) }}%'
|
||||
message: '{{ (state_attr(entity07, "current_position") | int ) |round(0) }}%'
|
||||
|
||||
################################################################################
|
||||
####### buttonpage01.button08 ########################################################################################
|
||||
@@ -4452,7 +4453,7 @@ action:
|
||||
- service: "{{ command_text_printf }}"
|
||||
data:
|
||||
component: buttonpage01.button08bri
|
||||
message: '{{ (state_attr(entity08, "position") | int ) |round(0) }}%'
|
||||
message: '{{ (state_attr(entity08, "current_position") | int ) |round(0) }}%'
|
||||
|
||||
########################################################################################################################
|
||||
|
||||
@@ -4772,7 +4773,7 @@ action:
|
||||
- service: "{{ command_text_printf }}"
|
||||
data:
|
||||
component: buttonpage02.button01bri
|
||||
message: '{{ (state_attr(entity09, "position") | int ) |round(0) }}%'
|
||||
message: '{{ (state_attr(entity09, "current_position") | int ) |round(0) }}%'
|
||||
|
||||
|
||||
################################################################################
|
||||
@@ -5091,7 +5092,7 @@ action:
|
||||
- service: "{{ command_text_printf }}"
|
||||
data:
|
||||
component: buttonpage02.button02bri
|
||||
message: '{{ (state_attr(entity10, "position") | int ) |round(0) }}%'
|
||||
message: '{{ (state_attr(entity10, "current_position") | int ) |round(0) }}%'
|
||||
|
||||
################################################################################
|
||||
####### buttonpage02.button03 ########################################################################################
|
||||
@@ -5409,7 +5410,7 @@ action:
|
||||
- service: "{{ command_text_printf }}"
|
||||
data:
|
||||
component: buttonpage02.button03bri
|
||||
message: '{{ (state_attr(entity11, "position") | int ) |round(0) }}%'
|
||||
message: '{{ (state_attr(entity11, "current_position") | int ) |round(0) }}%'
|
||||
|
||||
################################################################################
|
||||
####### buttonpage02.button04 ########################################################################################
|
||||
@@ -5727,7 +5728,7 @@ action:
|
||||
- service: "{{ command_text_printf }}"
|
||||
data:
|
||||
component: buttonpage02.button04bri
|
||||
message: '{{ (state_attr(entity12, "position") | int ) |round(0) }}%'
|
||||
message: '{{ (state_attr(entity12, "current_position") | int ) |round(0) }}%'
|
||||
|
||||
################################################################################
|
||||
####### buttonpage02.button05 ########################################################################################
|
||||
@@ -6045,7 +6046,7 @@ action:
|
||||
- service: "{{ command_text_printf }}"
|
||||
data:
|
||||
component: buttonpage02.button05bri
|
||||
message: '{{ (state_attr(entity13, "position") | int ) |round(0) }}%'
|
||||
message: '{{ (state_attr(entity13, "current_position") | int ) |round(0) }}%'
|
||||
|
||||
################################################################################
|
||||
####### buttonpage02.button06 ########################################################################################
|
||||
@@ -6363,7 +6364,7 @@ action:
|
||||
- service: "{{ command_text_printf }}"
|
||||
data:
|
||||
component: buttonpage02.button06bri
|
||||
message: '{{ (state_attr(entity14, "position") | int ) |round(0) }}%'
|
||||
message: '{{ (state_attr(entity14, "current_position") | int ) |round(0) }}%'
|
||||
|
||||
################################################################################
|
||||
####### buttonpage02.button07 ########################################################################################
|
||||
@@ -6681,7 +6682,7 @@ action:
|
||||
- service: "{{ command_text_printf }}"
|
||||
data:
|
||||
component: buttonpage02.button07bri
|
||||
message: '{{ (state_attr(entity15, "position") | int ) |round(0) }}%'
|
||||
message: '{{ (state_attr(entity15, "current_position") | int ) |round(0) }}%'
|
||||
|
||||
################################################################################
|
||||
####### buttonpage02.button08 ########################################################################################
|
||||
@@ -6999,7 +7000,7 @@ action:
|
||||
- service: "{{ command_text_printf }}"
|
||||
data:
|
||||
component: buttonpage02.button08bri
|
||||
message: '{{ (state_attr(entity16, "position") | int ) |round(0) }}%'
|
||||
message: '{{ (state_attr(entity16, "current_position") | int ) |round(0) }}%'
|
||||
|
||||
########################################################################################################################
|
||||
|
||||
@@ -7319,7 +7320,7 @@ action:
|
||||
- service: "{{ command_text_printf }}"
|
||||
data:
|
||||
component: buttonpage03.button01bri
|
||||
message: '{{ (state_attr(entity17, "position") | int ) |round(0) }}%'
|
||||
message: '{{ (state_attr(entity17, "current_position") | int ) |round(0) }}%'
|
||||
|
||||
|
||||
################################################################################
|
||||
@@ -7638,7 +7639,7 @@ action:
|
||||
- service: "{{ command_text_printf }}"
|
||||
data:
|
||||
component: buttonpage03.button02bri
|
||||
message: '{{ (state_attr(entity18, "position") | int ) |round(0) }}%'
|
||||
message: '{{ (state_attr(entity18, "current_position") | int ) |round(0) }}%'
|
||||
|
||||
################################################################################
|
||||
####### buttonpage03.button03 ########################################################################################
|
||||
@@ -7956,7 +7957,7 @@ action:
|
||||
- service: "{{ command_text_printf }}"
|
||||
data:
|
||||
component: buttonpage03.button03bri
|
||||
message: '{{ (state_attr(entity19, "position") | int ) |round(0) }}%'
|
||||
message: '{{ (state_attr(entity19, "current_position") | int ) |round(0) }}%'
|
||||
|
||||
################################################################################
|
||||
####### buttonpage03.button04 ########################################################################################
|
||||
@@ -8274,7 +8275,7 @@ action:
|
||||
- service: "{{ command_text_printf }}"
|
||||
data:
|
||||
component: buttonpage03.button04bri
|
||||
message: '{{ (state_attr(entity20, "position") | int ) |round(0) }}%'
|
||||
message: '{{ (state_attr(entity20,"current_position") | int ) |round(0) }}%'
|
||||
|
||||
################################################################################
|
||||
####### buttonpage03.button05 ########################################################################################
|
||||
@@ -8592,7 +8593,7 @@ action:
|
||||
- service: "{{ command_text_printf }}"
|
||||
data:
|
||||
component: buttonpage03.button05bri
|
||||
message: '{{ (state_attr(entity21, "position") | int ) |round(0) }}%'
|
||||
message: '{{ (state_attr(entity21, "current_position") | int ) |round(0) }}%'
|
||||
|
||||
################################################################################
|
||||
####### buttonpage03.button06 ########################################################################################
|
||||
@@ -8910,7 +8911,7 @@ action:
|
||||
- service: "{{ command_text_printf }}"
|
||||
data:
|
||||
component: buttonpage03.button06bri
|
||||
message: '{{ (state_attr(entity22, "position") | int ) |round(0) }}%'
|
||||
message: '{{ (state_attr(entity22, "current_position") | int ) |round(0) }}%'
|
||||
|
||||
################################################################################
|
||||
####### buttonpage03.button07 ########################################################################################
|
||||
@@ -9228,7 +9229,7 @@ action:
|
||||
- service: "{{ command_text_printf }}"
|
||||
data:
|
||||
component: buttonpage03.button07bri
|
||||
message: '{{ (state_attr(entity23, "position") | int ) |round(0) }}%'
|
||||
message: '{{ (state_attr(entity23, "current_position") | int ) |round(0) }}%'
|
||||
|
||||
################################################################################
|
||||
####### buttonpage03.button08 ########################################################################################
|
||||
@@ -9546,7 +9547,7 @@ action:
|
||||
- service: "{{ command_text_printf }}"
|
||||
data:
|
||||
component: buttonpage03.button08bri
|
||||
message: '{{ (state_attr(entity24, "position") | int ) |round(0) }}%'
|
||||
message: '{{ (state_attr(entity24, "current_position") | int ) |round(0) }}%'
|
||||
|
||||
########################################################################################################################
|
||||
|
||||
@@ -9866,7 +9867,7 @@ action:
|
||||
- service: "{{ command_text_printf }}"
|
||||
data:
|
||||
component: buttonpage04.button01bri
|
||||
message: '{{ (state_attr(entity25, "position") | int ) |round(0) }}%'
|
||||
message: '{{ (state_attr(entity25, "current_position") | int ) |round(0) }}%'
|
||||
|
||||
|
||||
################################################################################
|
||||
@@ -10185,7 +10186,7 @@ action:
|
||||
- service: "{{ command_text_printf }}"
|
||||
data:
|
||||
component: buttonpage04.button02bri
|
||||
message: '{{ (state_attr(entity26, "position") | int ) |round(0) }}%'
|
||||
message: '{{ (state_attr(entity26, "current_position") | int ) |round(0) }}%'
|
||||
|
||||
################################################################################
|
||||
####### buttonpage04.button03 ########################################################################################
|
||||
@@ -10503,7 +10504,7 @@ action:
|
||||
- service: "{{ command_text_printf }}"
|
||||
data:
|
||||
component: buttonpage04.button03bri
|
||||
message: '{{ (state_attr(entity27, "position") | int ) |round(0) }}%'
|
||||
message: '{{ (state_attr(entity27, "current_position") | int ) |round(0) }}%'
|
||||
|
||||
################################################################################
|
||||
####### buttonpage04.button04 ########################################################################################
|
||||
@@ -10821,7 +10822,7 @@ action:
|
||||
- service: "{{ command_text_printf }}"
|
||||
data:
|
||||
component: buttonpage04.button04bri
|
||||
message: '{{ (state_attr(entity28, "position") | int ) |round(0) }}%'
|
||||
message: '{{ (state_attr(entity28, "current_position") | int ) |round(0) }}%'
|
||||
|
||||
################################################################################
|
||||
####### buttonpage04.button05 ########################################################################################
|
||||
@@ -11139,7 +11140,7 @@ action:
|
||||
- service: "{{ command_text_printf }}"
|
||||
data:
|
||||
component: buttonpage04.button05bri
|
||||
message: '{{ (state_attr(entity29, "position") | int ) |round(0) }}%'
|
||||
message: '{{ (state_attr(entity29, "current_position") | int ) |round(0) }}%'
|
||||
|
||||
################################################################################
|
||||
####### buttonpage04.button06 ########################################################################################
|
||||
@@ -11457,7 +11458,7 @@ action:
|
||||
- service: "{{ command_text_printf }}"
|
||||
data:
|
||||
component: buttonpage04.button06bri
|
||||
message: '{{ (state_attr(entity30, "position") | int ) |round(0) }}%'
|
||||
message: '{{ (state_attr(entity30, "current_position") | int ) |round(0) }}%'
|
||||
|
||||
################################################################################
|
||||
####### buttonpage04.button07 ########################################################################################
|
||||
@@ -11775,7 +11776,7 @@ action:
|
||||
- service: "{{ command_text_printf }}"
|
||||
data:
|
||||
component: buttonpage04.button07bri
|
||||
message: '{{ (state_attr(entity31, "position") | int ) |round(0) }}%'
|
||||
message: '{{ (state_attr(entity31, "current_position") | int ) |round(0) }}%'
|
||||
|
||||
################################################################################
|
||||
####### buttonpage04.button08 ########################################################################################
|
||||
@@ -12093,7 +12094,7 @@ action:
|
||||
- service: "{{ command_text_printf }}"
|
||||
data:
|
||||
component: buttonpage04.button08bri
|
||||
message: '{{ (state_attr(entity32, "position") | int ) |round(0) }}%'
|
||||
message: '{{ (state_attr(entity32, "current_position") | int ) |round(0) }}%'
|
||||
|
||||
#########################################
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user