add blueprint jump qrcode page
This commit is contained in:
@@ -1499,6 +1499,7 @@ variables:
|
||||
page_buttonpage03: "buttonpage03"
|
||||
page_buttonpage04: "buttonpage04"
|
||||
page_notification: "notification"
|
||||
page_qrcode: "qrcode"
|
||||
|
||||
|
||||
##### MUI Multilingual User Interface (DE/EN) #####
|
||||
@@ -2221,6 +2222,12 @@ trigger:
|
||||
value_template: '{{ states(last_click) is match "notificationacceptrelease" }}'
|
||||
id: btn_notificationacceptrelease
|
||||
|
||||
#### Show QR code - Trigger ####
|
||||
- platform: template
|
||||
value_template: '{{ states(last_click) is match "homebutton08release" }}'
|
||||
id: open_qrcode_page
|
||||
|
||||
|
||||
##### Trigger - Button General #################################################################################################################
|
||||
|
||||
##### Page Button - Trigger "short_press" - SHORT Press via "last_click" #####
|
||||
@@ -2847,6 +2854,17 @@ action:
|
||||
component: notification.notifi_label
|
||||
message: "{{ states(notification_label) }}"
|
||||
|
||||
##### Show QR Code Page #####
|
||||
- conditions:
|
||||
- condition: trigger
|
||||
id: open_qrcode_page
|
||||
# - condition: template
|
||||
# value_template: "{{ states(notification_text) |length > 0}} "
|
||||
sequence:
|
||||
- service: "{{ command_printf }}"
|
||||
data:
|
||||
cmd: "page {{ page_qrcode }}"
|
||||
|
||||
##### Button Notification clear #####
|
||||
- conditions:
|
||||
- condition: trigger
|
||||
@@ -5884,6 +5902,13 @@ action:
|
||||
- conditions: '{{ trigger.event.data.new_state.state == page_notification }}'
|
||||
sequence:
|
||||
|
||||
## PAGE QR Code ##
|
||||
- conditions: '{{ trigger.event.data.new_state.state == page_qrcode }}'
|
||||
sequence:
|
||||
|
||||
|
||||
|
||||
|
||||
##### Open Climate Settings #####
|
||||
- conditions:
|
||||
- condition: trigger
|
||||
|
||||
Reference in New Issue
Block a user