blueprint: name: Hue dimmer automation via hue integration description: Hue dimmer automation via hue integration domain: automation input: switch: selector: device: filter: model: Hue dimmer switch (RWL021) button1_section: name: Button 1 collapsed: true input: button1_short_press: default: selector: action: input: button2_long_press: default: selector: action: input: button1_hold: default: selector: action: triggers: - 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" and trigger.event.data.new_state.attributes.event_type == "short_release"}} 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 trigger_variables: var_switch: !input switch var_button1: "{{ device_entities(var_switch)[1] }}" var_button2: "{{ device_entities(var_switch)[1] }}" var_button3: "{{ device_entities(var_switch)[1] }}" var_button4: "{{ device_entities(var_switch)[1] }}"