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: selector:
action: action:
triggers: triggers:
- trigger: state - event_type: state_changed
entity_id: event_data:
- "{{ var_button1 }}" entity_id: "{{ var_button1 }}"
attribute: event_type trigger: event
to: id: button1
- short_release
id: button1_short
conditions: [] conditions: []
actions: actions:
- choose: - choose:
- conditions: - conditions:
- condition: template - condition: template
value_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 sequence: !input button1_short_press
mode: single mode: single
trigger_variables: trigger_variables: