From c201e76f645eef35da8836d49207ea1518f8ec6d Mon Sep 17 00:00:00 2001 From: Blackymas Date: Tue, 8 Nov 2022 11:13:02 +0100 Subject: [PATCH] change short_press trigger --- blueprint.yaml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/blueprint.yaml b/blueprint.yaml index b96b09a..428b7b0 100644 --- a/blueprint.yaml +++ b/blueprint.yaml @@ -1050,12 +1050,10 @@ trigger: ##### Trigger - Button General ################################################################################################################# ##### Page Button - Trigger "short_press" - SHORT Press via "last_click" ##### - - platform: event - event_type: state_changed - event_data: - entity_id: "{{ last_click }}" + - platform: template + value_template: '{{ states(last_click) is match "releasebutton" }}' id: short_press - + ##### Page Button - Trigger "long_press" - LONG Press via "last_click" - Button LONG Press for jump to Lightsetting or Coversetting Page ##### - platform: template value_template: '{{ states(last_click) is match "press" }}'