Fix Notification
This commit is contained in:
@@ -9638,7 +9638,7 @@ action:
|
|||||||
- condition: trigger
|
- condition: trigger
|
||||||
id: btn_notificationclearrelease
|
id: btn_notificationclearrelease
|
||||||
- condition: template
|
- condition: template
|
||||||
value_template: "{{ states(current_page) == page_home and states(confirmation_message) != 'on'}}"
|
value_template: "{{ states(current_page) == page_notification and states(confirmation_message) != 'on'}}"
|
||||||
sequence:
|
sequence:
|
||||||
- service: switch.turn_off
|
- service: switch.turn_off
|
||||||
data:
|
data:
|
||||||
@@ -9652,7 +9652,7 @@ action:
|
|||||||
- condition: trigger
|
- condition: trigger
|
||||||
id: btn_notificationacceptrelease
|
id: btn_notificationacceptrelease
|
||||||
- condition: template
|
- condition: template
|
||||||
value_template: "{{ states(current_page) == page_home and states(confirmation_message) != 'on'}}"
|
value_template: "{{ states(current_page) == page_notification and states(confirmation_message) != 'on'}}"
|
||||||
sequence:
|
sequence:
|
||||||
- service: switch.turn_off
|
- service: switch.turn_off
|
||||||
data:
|
data:
|
||||||
|
|||||||
Reference in New Issue
Block a user