Update hue-dimmer-blueprint.yaml

This commit is contained in:
2026-05-27 14:01:05 +00:00
parent a6c7c04641
commit 6494eafb5e
+11 -1
View File
@@ -14,7 +14,7 @@ blueprint:
default: default:
selector: selector:
action: action:
button1_short_press: button1_hold:
default: default:
selector: selector:
action: action:
@@ -32,6 +32,16 @@ actions:
value_template: >- value_template: >-
{{ trigger.id == "button1" and trigger.event.data.new_state.attributes.event_type == "short_release"}} {{ trigger.id == "button1" and trigger.event.data.new_state.attributes.event_type == "short_release"}}
sequence: !input button1_short_press sequence: !input button1_short_press
- conditions:
- condition: template
value_template: >-
{{ trigger.id == "button1" and trigger.event.data.new_state.attributes.event_type == "long_press"}}
sequence: !input button2_long_press
- conditions:
- condition: template
value_template: >-
{{ trigger.id == "button1" and trigger.event.data.new_state.attributes.event_type == "repeat"}}
sequence: !input button1_hold
mode: single mode: single
trigger_variables: trigger_variables:
var_switch: !input switch var_switch: !input switch