From cc3801a789546e0641fd91862cd9af5f79d2d1ea Mon Sep 17 00:00:00 2001 From: zjamnik Date: Wed, 27 May 2026 13:20:43 +0000 Subject: [PATCH] Update hue-dimmer-blueprint.yaml --- hue-dimmer-blueprint.yaml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/hue-dimmer-blueprint.yaml b/hue-dimmer-blueprint.yaml index 8130158..d6b4163 100644 --- a/hue-dimmer-blueprint.yaml +++ b/hue-dimmer-blueprint.yaml @@ -11,10 +11,12 @@ blueprint: selector: action: triggers: - - event_type: state_changed - event_data: - entity_id: "{{ var_button_ch1 }}" - trigger: event + - trigger: state + entity_id: + - "{{ var_button1 }}" + attribute: event_type + to: + - short_release id: button1_short conditions: [] actions: @@ -27,5 +29,4 @@ actions: mode: single trigger_variables: var_switch: !input switch - var_button1: >- - {{ device_entities("166b8ce10384bb24003d21720b4e6478")[1] }} \ No newline at end of file + var_button1: "{{ device_entities(switch)[1] }}" \ No newline at end of file