diff --git a/nspanel_blueprint.yaml b/nspanel_blueprint.yaml index a59509c..da58510 100644 --- a/nspanel_blueprint.yaml +++ b/nspanel_blueprint.yaml @@ -3271,7 +3271,7 @@ trigger: ############################################################# ##### START - Action ##### ############################################################# - +condition: '{{ states(relay01_entity) != "unavailable" and states(relay02_entity) != "unavailable" }}' action: - variables: ##### Entity - Page Lightsettings ##### @@ -4999,6 +4999,8 @@ action: - conditions: - condition: trigger id: left_button_press + - condition: template + value_template: '{{ left_button_entity |length > 0 }}' sequence: - service: >- {% if left_button_entity is match 'light.' %} @@ -5050,6 +5052,8 @@ action: - conditions: - condition: trigger id: right_button_press + - condition: template + value_template: '{{ right_button_entity |length > 0 }}' sequence: - service: >- {% if right_button_entity is match 'light.' %}