Update hue-dimmer-blueprint.yaml

This commit is contained in:
2026-05-27 13:55:20 +00:00
parent cc3801a789
commit 0a7e69f544
+6 -8
View File
@@ -11,20 +11,18 @@ blueprint:
selector:
action:
triggers:
- trigger: state
entity_id:
- "{{ var_button1 }}"
attribute: event_type
to:
- short_release
id: button1_short
- event_type: state_changed
event_data:
entity_id: "{{ var_button1 }}"
trigger: event
id: button1
conditions: []
actions:
- choose:
- conditions:
- condition: template
value_template: >-
{{ trigger.id == "button1_short"}}
{{ trigger.id == "button1" and trigger.event.data.new_state.attributes.event_type == "short_release"}}
sequence: !input button1_short_press
mode: single
trigger_variables: