Last active
October 23, 2025 14:38
-
-
Save manix84/7c9cccac1f498b6b0fa134054f86ecab to your computer and use it in GitHub Desktop.
Revisions
-
manix84 revised this gist
Jun 11, 2024 . 1 changed file with 4 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -196,7 +196,7 @@ trigger: event_type: zha_event event_data: device_id: !input dimmer_device_id command: on_press id: btn_on_single_press - platform: event event_type: zha_event @@ -233,7 +233,7 @@ trigger: event_type: zha_event event_data: device_id: !input dimmer_device_id command: up_press id: btn_up_single_press - platform: event event_type: zha_event @@ -270,7 +270,7 @@ trigger: event_type: zha_event event_data: device_id: !input dimmer_device_id command: down_press id: btn_down_single_press - platform: event event_type: zha_event @@ -307,7 +307,7 @@ trigger: event_type: zha_event event_data: device_id: !input dimmer_device_id command: off_press id: btn_off_single_press - platform: event event_type: zha_event -
manix84 revised this gist
Jun 11, 2024 . 1 changed file with 100 additions and 217 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,7 +2,6 @@ blueprint: name: Hue Remote Mapper (ZHA Integration) description: | A remote control mapper for the Philips Hue Remotes (RWL020, RWL021, and RWL022). domain: automation source_url: https://gist.github.com/manix84/7c9cccac1f498b6b0fa134054f86ecab author: Manix84 @@ -28,37 +27,37 @@ blueprint: icon: mdi:numeric-1-box-outline collapsed: true input: btn_on_single_press_action: name: Single Press Actions description: <ha-icon icon="mdi:numeric-1-box"></ha-icon> Actions to run, when button is pressed quickly. default: [] selector: action: {} btn_on_double_press_action: name: Double (2) Press Actions description: <ha-icon icon="mdi:numeric-2-box-multiple"></ha-icon> Actions to run, when button is pressed quickly twice. default: [] selector: action: {} btn_on_triple_press_action: name: Triple (3) Press Actions description: <ha-icon icon="mdi:numeric-3-box-multiple"></ha-icon> Actions to run, when button is pressed quickly three times. default: [] selector: action: {} btn_on_quadruple_press_action: name: Quadruple (4) Press Actions description: <ha-icon icon="mdi:numeric-4-box-multiple"></ha-icon> Actions to run, when button is pressed quickly four times. default: [] selector: action: {} btn_on_quintuple_press_action: name: Quintuple (5) Press Actions description: <ha-icon icon="mdi:numeric-5-box-multiple"></ha-icon> Actions to run, when button is pressed quickly five times. default: [] selector: action: {} btn_on_long_press_action: name: Long Press Actions description: <ha-icon icon="mdi:checkbox-multiple-blank"></ha-icon> Actions to run, when button is pressed and released after over a second. default: [] @@ -70,37 +69,37 @@ blueprint: icon: mdi:chevron-up-box-outline collapsed: true input: btn_up_single_press_action: name: Single Press Actions description: <ha-icon icon="mdi:numeric-1-box"></ha-icon> Actions to run, when button is pressed quickly. default: [] selector: action: {} btn_up_double_press_action: name: Double (2) Press Actions description: <ha-icon icon="mdi:numeric-2-box-multiple"></ha-icon> Actions to run, when button is pressed quickly twice. default: [] selector: action: {} btn_up_triple_press_action: name: Triple (3) Press Actions description: <ha-icon icon="mdi:numeric-3-box-multiple"></ha-icon> Actions to run, when button is pressed quickly three times. default: [] selector: action: {} btn_up_quadruple_press_action: name: Quadruple (4) Press Actions description: <ha-icon icon="mdi:numeric-4-box-multiple"></ha-icon> Actions to run, when button is pressed quickly four times. default: [] selector: action: {} btn_up_quintuple_press_action: name: Quintuple (5) Press Actions description: <ha-icon icon="mdi:numeric-5-box-multiple"></ha-icon> Actions to run, when button is pressed quickly five times. default: [] selector: action: {} btn_up_long_press_action: name: Long Press Actions description: <ha-icon icon="mdi:checkbox-multiple-blank"></ha-icon> Actions to run, when button is pressed and released after over a second. default: [] @@ -112,37 +111,37 @@ blueprint: icon: mdi:chevron-down-box-outline collapsed: true input: btn_down_single_press_action: name: Single Press Actions description: <ha-icon icon="mdi:numeric-1-box"></ha-icon> Actions to run, when button is pressed quickly. default: [] selector: action: {} btn_down_double_press_action: name: Double (2) Press Actions description: <ha-icon icon="mdi:numeric-2-box-multiple"></ha-icon> Actions to run, when button is pressed quickly twice. default: [] selector: action: {} btn_down_triple_press_action: name: Triple (3) Press Actions description: <ha-icon icon="mdi:numeric-3-box-multiple"></ha-icon> Actions to run, when button is pressed quickly three times. default: [] selector: action: {} btn_down_quadruple_press_action: name: Quadruple (4) Press Actions description: <ha-icon icon="mdi:numeric-4-box-multiple"></ha-icon> Actions to run, when button is pressed quickly four times. default: [] selector: action: {} btn_down_quintuple_press_action: name: Quintuple (5) Press Actions description: <ha-icon icon="mdi:numeric-5-box-multiple"></ha-icon> Actions to run, when button is pressed quickly five times. default: [] selector: action: {} btn_down_long_press_action: name: Long Press Actions description: <ha-icon icon="mdi:checkbox-multiple-blank"></ha-icon> Actions to run, when button is pressed and released after over a second. default: [] @@ -154,37 +153,37 @@ blueprint: icon: mdi:numeric-0-box-outline collapsed: true input: btn_off_single_press_action: name: Single Press Actions description: <ha-icon icon="mdi:numeric-1-box"></ha-icon> Actions to run, when button is pressed quickly. default: [] selector: action: {} btn_off_double_press_action: name: Double (2) Press Actions description: <ha-icon icon="mdi:numeric-2-box-multiple"></ha-icon> Actions to run, when button is pressed quickly twice. default: [] selector: action: {} btn_off_triple_press_action: name: Triple (3) Press Actions description: <ha-icon icon="mdi:numeric-3-box-multiple"></ha-icon> Actions to run, when button is pressed quickly three times. default: [] selector: action: {} btn_off_quadruple_press_action: name: Quadruple (4) Press Actions description: <ha-icon icon="mdi:numeric-4-box-multiple"></ha-icon> Actions to run, when button is pressed quickly four times. default: [] selector: action: {} btn_off_quintuple_press_action: name: Quintuple (5) Press Actions description: <ha-icon icon="mdi:numeric-5-box-multiple"></ha-icon> Actions to run, when button is pressed quickly five times. default: [] selector: action: {} btn_off_long_press_action: name: Long Press Actions description: <ha-icon icon="mdi:checkbox-multiple-blank"></ha-icon> Actions to run, when button is pressed and released after over a second. default: [] @@ -197,392 +196,276 @@ trigger: event_type: zha_event event_data: device_id: !input dimmer_device_id command: on_short_release id: btn_on_single_press - platform: event event_type: zha_event event_data: device_id: !input dimmer_device_id command: on_double_press id: btn_on_double_press - platform: event event_type: zha_event event_data: device_id: !input dimmer_device_id command: on_triple_press id: btn_on_triple_press - platform: event event_type: zha_event event_data: device_id: !input dimmer_device_id command: on_quadruple_press id: btn_on_quadruple_press - platform: event event_type: zha_event event_data: device_id: !input dimmer_device_id command: on_quintuple_press id: btn_on_quintuple_press - platform: event event_type: zha_event event_data: device_id: !input dimmer_device_id command: on_long_release id: btn_on_long_press - platform: event event_type: zha_event event_data: device_id: !input dimmer_device_id command: up_short_release id: btn_up_single_press - platform: event event_type: zha_event event_data: device_id: !input dimmer_device_id command: up_double_press id: btn_up_double_press - platform: event event_type: zha_event event_data: device_id: !input dimmer_device_id command: up_triple_press id: btn_up_triple_press - platform: event event_type: zha_event event_data: device_id: !input dimmer_device_id command: up_quadruple_press id: btn_up_quadruple_press - platform: event event_type: zha_event event_data: device_id: !input dimmer_device_id command: up_quintuple_press id: btn_up_quintuple_press - platform: event event_type: zha_event event_data: device_id: !input dimmer_device_id command: up_long_release id: btn_up_long_press - platform: event event_type: zha_event event_data: device_id: !input dimmer_device_id command: down_short_release id: btn_down_single_press - platform: event event_type: zha_event event_data: device_id: !input dimmer_device_id command: down_double_press id: btn_down_double_press - platform: event event_type: zha_event event_data: device_id: !input dimmer_device_id command: down_triple_press id: btn_down_triple_press - platform: event event_type: zha_event event_data: device_id: !input dimmer_device_id command: down_quadruple_press id: btn_down_quadruple_press - platform: event event_type: zha_event event_data: device_id: !input dimmer_device_id command: down_quintuple_press id: btn_down_quintuple_press - platform: event event_type: zha_event event_data: device_id: !input dimmer_device_id command: down_long_release id: btn_down_long_press - platform: event event_type: zha_event event_data: device_id: !input dimmer_device_id command: off_short_release id: btn_off_single_press - platform: event event_type: zha_event event_data: device_id: !input dimmer_device_id command: off_double_press id: btn_off_double_press - platform: event event_type: zha_event event_data: device_id: !input dimmer_device_id command: off_triple_press id: btn_off_triple_press - platform: event event_type: zha_event event_data: device_id: !input dimmer_device_id command: off_quadruple_press id: btn_off_quadruple_press - platform: event event_type: zha_event event_data: device_id: !input dimmer_device_id command: off_quintuple_press id: btn_off_quintuple_press - platform: event event_type: zha_event event_data: device_id: !input dimmer_device_id command: off_long_release id: btn_off_long_press condition: [] action: - choose: - alias: On Button - Single Press conditions: - condition: trigger id: btn_on_single_press sequence: !input btn_on_single_press_action - alias: On Button - Double Press conditions: - condition: trigger id: btn_on_double_press sequence: !input btn_on_double_press_action - alias: On Button - Triple Press conditions: - condition: trigger id: btn_on_triple_press sequence: !input btn_on_triple_press_action - alias: On Button - Quadruple Press conditions: - condition: trigger id: btn_on_quadruple_press sequence: !input btn_on_quadruple_press_action - alias: On Button - Quintuple Press conditions: - condition: trigger id: btn_on_quintuple_press sequence: !input btn_on_quintuple_press_action - alias: On Button - Long Press conditions: - condition: trigger id: btn_on_long_press sequence: !input btn_on_long_press_action - alias: Dim Up Button - Single Press conditions: - condition: trigger id: btn_up_single_press sequence: !input btn_up_single_press_action - alias: Dim Up Button - Double Press conditions: - condition: trigger id: btn_up_double_press sequence: !input btn_up_double_press_action - alias: Dim Up Button - Triple Press conditions: - condition: trigger id: btn_up_triple_press sequence: !input btn_up_triple_press_action - alias: Dim Up Button - Quadruple Press conditions: - condition: trigger id: btn_up_quadruple_press sequence: !input btn_up_quadruple_press_action - alias: Dim Up Button - Quintuple Press conditions: - condition: trigger id: btn_up_quintuple_press sequence: !input btn_up_quintuple_press_action - alias: Dim Up Button - Long Press conditions: - condition: trigger id: btn_up_long_press sequence: !input btn_up_long_press_action - alias: Dim Down Button - Single Press conditions: - condition: trigger id: btn_down_single_press sequence: !input btn_down_single_press_action - alias: Dim Down Button - Double Press conditions: - condition: trigger id: btn_down_double_press sequence: !input btn_down_double_press_action - alias: Dim Down Button - Triple Press conditions: - condition: trigger id: btn_down_triple_press sequence: !input btn_down_triple_press_action - alias: Dim Down Button - Quadruple Press conditions: - condition: trigger id: btn_down_quadruple_press sequence: !input btn_down_quadruple_press_action - alias: Dim Down Button - Quintuple Press conditions: - condition: trigger id: btn_down_quintuple_press sequence: !input btn_down_quintuple_press_action - alias: Dim Down Button - Long Press conditions: - condition: trigger id: btn_down_long_press sequence: !input btn_down_long_press_action - alias: Off Button - Single Press conditions: - condition: trigger id: btn_off_single_press sequence: !input btn_off_single_press_action - alias: Off Button - Double Press conditions: - condition: trigger id: btn_off_double_press sequence: !input btn_off_double_press_action - alias: Off Button - Triple Press conditions: - condition: trigger id: btn_off_triple_press sequence: !input btn_off_triple_press_action - alias: Off Button - Quadruple Press conditions: - condition: trigger id: btn_off_quadruple_press sequence: !input btn_off_quadruple_press_action - alias: Off Button - Quintuple Press conditions: - condition: trigger id: btn_off_quintuple_press sequence: !input btn_off_quintuple_press_action - alias: Off Button - Long Press conditions: - condition: trigger id: btn_off_long_press sequence: !input btn_off_long_press_action default: - service: persistent_notification.create data: -
manix84 revised this gist
Jun 11, 2024 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,7 +1,8 @@ blueprint: name: Hue Remote Mapper (ZHA Integration) description: | A remote control mapper for the Philips Hue Remotes (RWL020, RWL021, and RWL022). blueprint: domain: automation source_url: https://gist.github.com/manix84/7c9cccac1f498b6b0fa134054f86ecab author: Manix84 -
manix84 revised this gist
Jun 11, 2024 . 1 changed file with 19 additions and 67 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,7 +1,7 @@ blueprint: name: Hue Remote Mapper (ZHA Integration) description: | A remote control mapper for the Philips Hue Remotes (RWL020, RWL021, and RWL022).blueprint: domain: automation source_url: https://gist.github.com/manix84/7c9cccac1f498b6b0fa134054f86ecab author: Manix84 @@ -197,195 +197,147 @@ trigger: event_data: device_id: !input dimmer_device_id command: on_press id: bnt1_single_press - platform: event event_type: zha_event event_data: device_id: !input dimmer_device_id command: on_double_press id: bnt1_double_press - platform: event event_type: zha_event event_data: device_id: !input dimmer_device_id command: on_triple_press id: bnt1_triple_press - platform: event event_type: zha_event event_data: device_id: !input dimmer_device_id command: on_quadruple_press id: bnt1_quadruple_press - platform: event event_type: zha_event event_data: device_id: !input dimmer_device_id command: on_quintuple_press id: bnt1_quintuple_press - platform: event event_type: zha_event event_data: device_id: !input dimmer_device_id command: on_long_release id: bnt1_long_press - platform: event event_type: zha_event event_data: device_id: !input dimmer_device_id command: up_press id: bnt2_single_press - platform: event event_type: zha_event event_data: device_id: !input dimmer_device_id command: up_double_press id: bnt2_double_press - platform: event event_type: zha_event event_data: device_id: !input dimmer_device_id command: up_triple_press id: bnt2_triple_press - platform: event event_type: zha_event event_data: device_id: !input dimmer_device_id command: up_quadruple_press id: bnt2_quadruple_press - platform: event event_type: zha_event event_data: device_id: !input dimmer_device_id command: up_quintuple_press id: bnt2_quintuple_press - platform: event event_type: zha_event event_data: device_id: !input dimmer_device_id command: up_long_release id: bnt2_long_press - platform: event event_type: zha_event event_data: device_id: !input dimmer_device_id command: down_press id: bnt3_single_press - platform: event event_type: zha_event event_data: device_id: !input dimmer_device_id command: down_double_press id: bnt3_double_press - platform: event event_type: zha_event event_data: device_id: !input dimmer_device_id command: down_triple_press id: bnt3_triple_press - platform: event event_type: zha_event event_data: device_id: !input dimmer_device_id command: down_quadruple_press id: bnt3_quadruple_press - platform: event event_type: zha_event event_data: device_id: !input dimmer_device_id command: down_quintuple_press id: bnt3_quintuple_press - platform: event event_type: zha_event event_data: device_id: !input dimmer_device_id command: down_long_release id: bnt3_long_press - platform: event event_type: zha_event event_data: device_id: !input dimmer_device_id command: off_press id: bnt4_single_press - platform: event event_type: zha_event event_data: device_id: !input dimmer_device_id command: off_double_press id: bnt4_double_press - platform: event event_type: zha_event event_data: device_id: !input dimmer_device_id command: off_triple_press id: bnt4_triple_press - platform: event event_type: zha_event event_data: device_id: !input dimmer_device_id command: off_quadruple_press id: bnt4_quadruple_press - platform: event event_type: zha_event event_data: device_id: !input dimmer_device_id command: off_quintuple_press id: bnt4_quintuple_press - platform: event event_type: zha_event event_data: device_id: !input dimmer_device_id command: off_long_release id: bnt4_long_press condition: [] -
manix84 renamed this gist
Jun 11, 2024 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,5 @@ blueprint: name: Hue Remote Mapper (ZHA Integration) description: | A remote control mapper for the Philips Hue Remotes (RWL020, RWL021, and RWL022). domain: automation -
manix84 revised this gist
Jun 11, 2024 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,7 +1,7 @@ blueprint: name: Hue Remote (ZHA Integration) description: | A remote control mapper for the Philips Hue Remotes (RWL020, RWL021, and RWL022). domain: automation source_url: https://gist.github.com/manix84/7c9cccac1f498b6b0fa134054f86ecab author: Manix84 -
manix84 renamed this gist
Jun 10, 2024 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
manix84 revised this gist
Jun 10, 2024 . 1 changed file with 592 additions and 128 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,5 @@ blueprint: name: Hue Remote (ZHA Integration) description: | An automation for Hue remotes, which has brightness buttons (100%, 66%, 33%, 0%). domain: automation @@ -21,151 +21,615 @@ blueprint: - integration: zha manufacturer: "Philips" model: RWL022 button1_actions: name: On Button icon: mdi:numeric-1-box-outline collapsed: true input: btn1_single_press_action: name: Single Press Actions description: <ha-icon icon="mdi:numeric-1-box"></ha-icon> Actions to run, when button is pressed quickly. default: [] selector: action: {} btn1_double_press_action: name: Double (2) Press Actions description: <ha-icon icon="mdi:numeric-2-box-multiple"></ha-icon> Actions to run, when button is pressed quickly twice. default: [] selector: action: {} btn1_triple_press_action: name: Triple (3) Press Actions description: <ha-icon icon="mdi:numeric-3-box-multiple"></ha-icon> Actions to run, when button is pressed quickly three times. default: [] selector: action: {} btn1_quadruple_press_action: name: Quadruple (4) Press Actions description: <ha-icon icon="mdi:numeric-4-box-multiple"></ha-icon> Actions to run, when button is pressed quickly four times. default: [] selector: action: {} btn1_quintuple_press_action: name: Quintuple (5) Press Actions description: <ha-icon icon="mdi:numeric-5-box-multiple"></ha-icon> Actions to run, when button is pressed quickly five times. default: [] selector: action: {} btn1_long_press_action: name: Long Press Actions description: <ha-icon icon="mdi:checkbox-multiple-blank"></ha-icon> Actions to run, when button is pressed and released after over a second. default: [] selector: action: {} button2_actions: name: Dim Up Button icon: mdi:chevron-up-box-outline collapsed: true input: btn2_single_press_action: name: Single Press Actions description: <ha-icon icon="mdi:numeric-1-box"></ha-icon> Actions to run, when button is pressed quickly. default: [] selector: action: {} btn2_double_press_action: name: Double (2) Press Actions description: <ha-icon icon="mdi:numeric-2-box-multiple"></ha-icon> Actions to run, when button is pressed quickly twice. default: [] selector: action: {} btn2_triple_press_action: name: Triple (3) Press Actions description: <ha-icon icon="mdi:numeric-3-box-multiple"></ha-icon> Actions to run, when button is pressed quickly three times. default: [] selector: action: {} btn2_quadruple_press_action: name: Quadruple (4) Press Actions description: <ha-icon icon="mdi:numeric-4-box-multiple"></ha-icon> Actions to run, when button is pressed quickly four times. default: [] selector: action: {} btn2_quintuple_press_action: name: Quintuple (5) Press Actions description: <ha-icon icon="mdi:numeric-5-box-multiple"></ha-icon> Actions to run, when button is pressed quickly five times. default: [] selector: action: {} btn2_long_press_action: name: Long Press Actions description: <ha-icon icon="mdi:checkbox-multiple-blank"></ha-icon> Actions to run, when button is pressed and released after over a second. default: [] selector: action: {} button3_actions: name: Dim Down Button icon: mdi:chevron-down-box-outline collapsed: true input: btn3_single_press_action: name: Single Press Actions description: <ha-icon icon="mdi:numeric-1-box"></ha-icon> Actions to run, when button is pressed quickly. default: [] selector: action: {} btn3_double_press_action: name: Double (2) Press Actions description: <ha-icon icon="mdi:numeric-2-box-multiple"></ha-icon> Actions to run, when button is pressed quickly twice. default: [] selector: action: {} btn3_triple_press_action: name: Triple (3) Press Actions description: <ha-icon icon="mdi:numeric-3-box-multiple"></ha-icon> Actions to run, when button is pressed quickly three times. default: [] selector: action: {} btn3_quadruple_press_action: name: Quadruple (4) Press Actions description: <ha-icon icon="mdi:numeric-4-box-multiple"></ha-icon> Actions to run, when button is pressed quickly four times. default: [] selector: action: {} btn3_quintuple_press_action: name: Quintuple (5) Press Actions description: <ha-icon icon="mdi:numeric-5-box-multiple"></ha-icon> Actions to run, when button is pressed quickly five times. default: [] selector: action: {} btn3_long_press_action: name: Long Press Actions description: <ha-icon icon="mdi:checkbox-multiple-blank"></ha-icon> Actions to run, when button is pressed and released after over a second. default: [] selector: action: {} button4_actions: name: Off Button icon: mdi:numeric-0-box-outline collapsed: true input: btn4_single_press_action: name: Single Press Actions description: <ha-icon icon="mdi:numeric-1-box"></ha-icon> Actions to run, when button is pressed quickly. default: [] selector: action: {} btn4_double_press_action: name: Double (2) Press Actions description: <ha-icon icon="mdi:numeric-2-box-multiple"></ha-icon> Actions to run, when button is pressed quickly twice. default: [] selector: action: {} btn4_triple_press_action: name: Triple (3) Press Actions description: <ha-icon icon="mdi:numeric-3-box-multiple"></ha-icon> Actions to run, when button is pressed quickly three times. default: [] selector: action: {} btn4_quadruple_press_action: name: Quadruple (4) Press Actions description: <ha-icon icon="mdi:numeric-4-box-multiple"></ha-icon> Actions to run, when button is pressed quickly four times. default: [] selector: action: {} btn4_quintuple_press_action: name: Quintuple (5) Press Actions description: <ha-icon icon="mdi:numeric-5-box-multiple"></ha-icon> Actions to run, when button is pressed quickly five times. default: [] selector: action: {} btn4_long_press_action: name: Long Press Actions description: <ha-icon icon="mdi:checkbox-multiple-blank"></ha-icon> Actions to run, when button is pressed and released after over a second. default: [] selector: action: {} description: "" trigger: - platform: event event_type: zha_event event_data: device_id: !input dimmer_device_id command: on_press args: button: "on" id: bnt1_single_press - platform: event event_type: zha_event event_data: device_id: !input dimmer_device_id command: on_double_press args: button: "on" id: bnt1_double_press - platform: event event_type: zha_event event_data: device_id: !input dimmer_device_id command: on_triple_press args: button: "on" id: bnt1_triple_press - platform: event event_type: zha_event event_data: device_id: !input dimmer_device_id command: on_quadruple_press args: button: "on" id: bnt1_quadruple_press - platform: event event_type: zha_event event_data: device_id: !input dimmer_device_id command: on_quintuple_press args: button: "on" id: bnt1_quintuple_press - platform: event event_type: zha_event event_data: device_id: !input dimmer_device_id command: on_long_release args: button: "on" id: bnt1_long_press - platform: event event_type: zha_event event_data: device_id: !input dimmer_device_id command: on_press args: button: "up" id: bnt2_single_press - platform: event event_type: zha_event event_data: device_id: !input dimmer_device_id command: on_double_press args: button: "up" id: bnt2_double_press - platform: event event_type: zha_event event_data: device_id: !input dimmer_device_id command: on_triple_press args: button: "up" id: bnt2_triple_press - platform: event event_type: zha_event event_data: device_id: !input dimmer_device_id command: on_quadruple_press args: button: "up" id: bnt2_quadruple_press - platform: event event_type: zha_event event_data: device_id: !input dimmer_device_id command: on_quintuple_press args: button: "up" id: bnt2_quintuple_press - platform: event event_type: zha_event event_data: device_id: !input dimmer_device_id command: on_long_release args: button: "up" id: bnt2_long_press - platform: event event_type: zha_event event_data: device_id: !input dimmer_device_id command: on_press args: button: "down" id: bnt3_single_press - platform: event event_type: zha_event event_data: device_id: !input dimmer_device_id command: on_double_press args: button: "down" id: bnt3_double_press - platform: event event_type: zha_event event_data: device_id: !input dimmer_device_id command: on_triple_press args: button: "down" id: bnt3_triple_press - platform: event event_type: zha_event event_data: device_id: !input dimmer_device_id command: on_quadruple_press args: button: "down" id: bnt3_quadruple_press - platform: event event_type: zha_event event_data: device_id: !input dimmer_device_id command: on_quintuple_press args: button: "down" id: bnt3_quintuple_press - platform: event event_type: zha_event event_data: device_id: !input dimmer_device_id command: on_long_release args: button: "down" id: bnt3_long_press - platform: event event_type: zha_event event_data: device_id: !input dimmer_device_id command: on_press args: button: "off" id: bnt4_single_press - platform: event event_type: zha_event event_data: device_id: !input dimmer_device_id command: on_double_press args: button: "off" id: bnt4_double_press - platform: event event_type: zha_event event_data: device_id: !input dimmer_device_id command: on_triple_press args: button: "off" id: bnt4_triple_press - platform: event event_type: zha_event event_data: device_id: !input dimmer_device_id command: on_quadruple_press args: button: "off" id: bnt4_quadruple_press - platform: event event_type: zha_event event_data: device_id: !input dimmer_device_id command: on_quintuple_press args: button: "off" id: bnt4_quintuple_press - platform: event event_type: zha_event event_data: device_id: !input dimmer_device_id command: on_long_release args: button: "off" id: bnt4_long_press condition: [] action: - choose: - alias: On Button - Single Press conditions: - condition: trigger id: btn1_single_press enabled: true sequence: - choose: - conditions: [] sequence: !input btn1_single_press_action - alias: On Button - Double Press conditions: - condition: trigger id: double_press enabled: true sequence: - variables: action: double_press - choose: - conditions: [] sequence: !input btn1_double_press_action - alias: On Button - Triple Press conditions: - condition: trigger id: triple_press enabled: true sequence: - variables: action: triple_press - choose: - conditions: [] sequence: !input btn1_triple_press_action - alias: On Button - Quadruple Press conditions: - condition: trigger id: quadruple_press enabled: true sequence: - variables: action: quadruple_press - choose: - conditions: [] sequence: !input btn1_quadruple_press_action - alias: On Button - Quintuple Press conditions: - condition: trigger id: quintuple_press enabled: true sequence: - variables: action: quintuple_press - choose: - conditions: [] sequence: !input btn1_quintuple_press_action - alias: On Button - Long Press conditions: - condition: trigger id: long_press enabled: true sequence: !input btn1_long_press_action - alias: Dim Up Button - Single Press conditions: - condition: trigger id: btn2_single_press enabled: true sequence: - choose: - conditions: [] sequence: !input btn2_single_press_action - alias: Dim Up Button - Double Press conditions: - condition: trigger id: double_press enabled: true sequence: - variables: action: double_press - choose: - conditions: [] sequence: !input btn2_double_press_action - alias: Dim Up Button - Triple Press conditions: - condition: trigger id: triple_press enabled: true sequence: - variables: action: triple_press - choose: - conditions: [] sequence: !input btn2_triple_press_action - alias: Dim Up Button - Quadruple Press conditions: - condition: trigger id: quadruple_press enabled: true sequence: - variables: action: quadruple_press - choose: - conditions: [] sequence: !input btn2_quadruple_press_action - alias: Dim Up Button - Quintuple Press conditions: - condition: trigger id: quintuple_press enabled: true sequence: - variables: action: quintuple_press - choose: - conditions: [] sequence: !input btn2_quintuple_press_action - alias: Dim Up Button - Long Press conditions: - condition: trigger id: long_press enabled: true sequence: !input btn2_long_press_action - alias: Dim Down Button - Single Press conditions: - condition: trigger id: btn3_single_press enabled: true sequence: - choose: - conditions: [] sequence: !input btn3_single_press_action - alias: Dim Down Button - Double Press conditions: - condition: trigger id: double_press enabled: true sequence: - variables: action: double_press - choose: - conditions: [] sequence: !input btn3_double_press_action - alias: Dim Down Button - Triple Press conditions: - condition: trigger id: triple_press enabled: true sequence: - variables: action: triple_press - choose: - conditions: [] sequence: !input btn3_triple_press_action - alias: Dim Down Button - Quadruple Press conditions: - condition: trigger id: quadruple_press enabled: true sequence: - variables: action: quadruple_press - choose: - conditions: [] sequence: !input btn3_quadruple_press_action - alias: Dim Down Button - Quintuple Press conditions: - condition: trigger id: quintuple_press enabled: true sequence: - variables: action: quintuple_press - choose: - conditions: [] sequence: !input btn3_quintuple_press_action - alias: Dim Down Button - Long Press conditions: - condition: trigger id: long_press enabled: true sequence: !input btn3_long_press_action - alias: Off Button - Single Press conditions: - condition: trigger id: btn4_single_press enabled: true sequence: - choose: - conditions: [] sequence: !input btn4_single_press_action - alias: Off Button - Double Press conditions: - condition: trigger id: double_press enabled: true sequence: - variables: action: double_press - choose: - conditions: [] sequence: !input btn4_double_press_action - alias: Off Button - Triple Press conditions: - condition: trigger id: triple_press enabled: true sequence: - variables: action: triple_press - choose: - conditions: [] sequence: !input btn4_triple_press_action - alias: Off Button - Quadruple Press conditions: - condition: trigger id: quadruple_press enabled: true sequence: - variables: action: quadruple_press - choose: - conditions: [] sequence: !input btn4_quadruple_press_action - alias: Off Button - Quintuple Press conditions: - condition: trigger id: quintuple_press enabled: true sequence: - variables: action: quintuple_press - choose: - conditions: [] sequence: !input btn4_quintuple_press_action - alias: Off Button - Long Press conditions: - condition: trigger id: long_press enabled: true sequence: !input btn4_long_press_action default: - service: persistent_notification.create data: -
manix84 revised this gist
May 14, 2024 . No changes.There are no files selected for viewing
-
manix84 revised this gist
May 14, 2024 . 1 changed file with 25 additions and 22 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,5 @@ blueprint: name: Hue Remote Lights (ZHA Integration) description: | An automation for Hue remotes, which has brightness buttons (100%, 66%, 33%, 0%). domain: automation @@ -12,15 +12,18 @@ blueprint: selector: device: filter: - integration: zha manufacturer: "Philips" model: RWL020 - integration: zha manufacturer: "Philips" model: RWL021 - integration: zha manufacturer: "Philips" model: RWL022 button_1_pct: name: "Button #1 Brightness" description: <ha-icon icon="mdi:brightness-7"></ha-icon> Light brightness for top button default: 100 selector: number: @@ -31,7 +34,7 @@ blueprint: mode: slider button_2_pct: name: "Button #2 Brightness" description: <ha-icon icon="mdi:brightness-6"></ha-icon> Light brightness for second button default: 66 selector: number: @@ -42,7 +45,7 @@ blueprint: mode: slider button_3_pct: name: "Button #3 Brightness" description: <ha-icon icon="mdi:brightness-5"></ha-icon> Light brightness for third button default: 33 selector: number: @@ -92,28 +95,28 @@ description: "" trigger: - id: on_pressed device_id: !input dimmer_device_id domain: zha platform: device type: remote_button_short_press subtype: turn_on - id: off_pressed device_id: !input dimmer_device_id domain: zha platform: device type: remote_button_short_press subtype: turn_off - id: dim_up_pressed device_id: !input dimmer_device_id domain: zha platform: device type: remote_button_short_press subtype: dim_up - id: dim_down_pressed device_id: !input dimmer_device_id domain: zha platform: device type: remote_button_short_press subtype: dim_down condition: [] action: - choose: -
manix84 revised this gist
May 14, 2024 . No changes.There are no files selected for viewing
-
manix84 renamed this gist
May 14, 2024 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
manix84 renamed this gist
May 14, 2024 . 1 changed file with 22 additions and 25 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,5 @@ blueprint: name: Hue Remote Lights (Philips Hue Integration) description: | An automation for Hue remotes, which has brightness buttons (100%, 66%, 33%, 0%). domain: automation @@ -12,18 +12,15 @@ blueprint: selector: device: filter: - integration: hue model: Hue dimmer switch (RWL020) - integration: hue model: Hue dimmer switch (RWL021) - integration: hue model: Hue dimmer switch (RWL022) button_1_pct: name: "Button #1 Brightness" description: Light brightness for top button (<ha-icon icon="mdi:power-on"></ha-icon>) default: 100 selector: number: @@ -34,7 +31,7 @@ blueprint: mode: slider button_2_pct: name: "Button #2 Brightness" description: Light brightness for second button (<ha-icon icon="mdi:brightness-7"></ha-icon>) default: 66 selector: number: @@ -45,7 +42,7 @@ blueprint: mode: slider button_3_pct: name: "Button #3 Brightness" description: Light brightness for third button (<ha-icon icon="mdi:brightness-1"></ha-icon>) default: 33 selector: number: @@ -95,28 +92,28 @@ description: "" trigger: - id: on_pressed device_id: !input dimmer_device_id domain: hue platform: device type: short_release subtype: 1 - id: off_pressed device_id: !input dimmer_device_id domain: hue platform: device type: short_release subtype: 4 - id: dim_up_pressed device_id: !input dimmer_device_id domain: hue platform: device type: short_release subtype: 2 - id: dim_down_pressed device_id: !input dimmer_device_id domain: hue platform: device type: short_release subtype: 3 condition: [] action: - choose: -
manix84 revised this gist
May 14, 2024 . 1 changed file with 58 additions and 18 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,5 @@ blueprint: name: Hue Remote Lights (ZHA Integration) description: | An automation for Hue remotes, which has brightness buttons (100%, 66%, 33%, 0%). domain: automation @@ -21,6 +21,46 @@ blueprint: - integration: zha manufacturer: "Philips" model: RWL022 button_1_pct: name: "Button #1 Brightness" description: Light brightness for top button (<ha-icon icon="mdi:brightness-7"></ha-icon>) default: 100 selector: number: min: 0 max: 100 step: 1 unit_of_measurement: "%" mode: slider button_2_pct: name: "Button #2 Brightness" description: Light brightness for second button (<ha-icon icon="mdi:brightness-6"></ha-icon>) default: 66 selector: number: min: 0 max: 100 step: 1 unit_of_measurement: "%" mode: slider button_3_pct: name: "Button #3 Brightness" description: Light brightness for third button (<ha-icon icon="mdi:brightness-5"></ha-icon>) default: 33 selector: number: min: 0 max: 100 step: 1 unit_of_measurement: "%" mode: slider light_temperature: name: Light Temperature description: Temperature of the lights default: 2700 selector: color_temp: unit: kelvin light_entity_ids: name: Lights description: "The lights you want the remote to affect" @@ -53,66 +93,66 @@ blueprint: alias: "Light Remote" description: "" trigger: - id: on_pressed device_id: !input dimmer_device_id domain: zha platform: device type: remote_button_short_press subtype: turn_on - id: off_pressed device_id: !input dimmer_device_id domain: zha platform: device type: remote_button_short_press subtype: turn_off - id: dim_up_pressed device_id: !input dimmer_device_id domain: zha platform: device type: remote_button_short_press subtype: dim_up - id: dim_down_pressed device_id: !input dimmer_device_id domain: zha platform: device type: remote_button_short_press subtype: dim_down condition: [] action: - choose: - alias: "Button #1 Brightness" conditions: - condition: trigger id: on_pressed sequence: - service: light.turn_on data: kelvin: !input light_temperature brightness_pct: !input button_1_pct transition: !input on_speed_transition target: entity_id: !input light_entity_ids - alias: "Button #2 Brightness" conditions: - condition: trigger id: dim_up_pressed sequence: - service: light.turn_on data: kelvin: !input light_temperature brightness_pct: !input button_2_pct transition: !input on_speed_transition target: entity_id: !input light_entity_ids - alias: "Button #3 Brightness" conditions: - condition: trigger id: dim_down_pressed sequence: - service: light.turn_on data: kelvin: !input light_temperature brightness_pct: !input button_3_pct transition: !input on_speed_transition target: entity_id: !input light_entity_ids -
manix84 renamed this gist
Apr 1, 2024 . 1 changed file with 51 additions and 29 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -8,19 +8,49 @@ blueprint: input: dimmer_device_id: name: Dimmer Remote Device description: "Your Hue dimmer remote (e.g. RWL020, RWL021, RWL022); check Hue integration and/or Hue app if you don't know the name" selector: device: filter: - integration: zha manufacturer: "Philips" model: RWL020 - integration: zha manufacturer: "Philips" model: RWL021 - integration: zha manufacturer: "Philips" model: RWL022 light_entity_ids: name: Lights description: "The lights you want the remote to affect" selector: entity: domain: light on_speed_transition: name: On Transition Speed description: How fast to transition between states default: 1 selector: number: min: 0 max: 10 step: 0.1 unit_of_measurement: Seconds mode: slider off_speed_transition: name: Off Transition Speed description: How fast to transition to off state default: 1 selector: number: min: 0 max: 10 step: 0.1 unit_of_measurement: Seconds mode: slider alias: "Light Remote" description: "" trigger: - device_id: !input dimmer_device_id @@ -59,11 +89,9 @@ action: data: kelvin: 2700 brightness_pct: 100 transition: !input on_speed_transition target: entity_id: !input light_entity_ids - alias: 66% Brightness conditions: - condition: trigger @@ -73,11 +101,9 @@ action: data: kelvin: 2700 brightness_pct: 66 transition: !input on_speed_transition target: entity_id: !input light_entity_ids - alias: 33% Brightness conditions: - condition: trigger @@ -87,30 +113,26 @@ action: data: kelvin: 2700 brightness_pct: 33 transition: !input on_speed_transition target: entity_id: !input light_entity_ids - alias: Turn Off conditions: - condition: trigger id: off_pressed sequence: - service: light.turn_off data: transition: !input off_speed_transition target: entity_id: !input light_entity_ids default: - service: persistent_notification.create data: message: >- Hue dimmer ran default event from "choose" action on button press! Please check any automations which may not be handling this event: {{ trigger.id }} notification_id: hue-remote-lights title: >- Uncaught Dimmer Command ({{ trigger.id }}) mode: single -
manix84 revised this gist
May 10, 2023 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -4,6 +4,7 @@ blueprint: An automation for Hue remotes, which has brightness buttons (100%, 66%, 33%, 0%). domain: automation source_url: https://gist.github.com/manix84/7c9cccac1f498b6b0fa134054f86ecab author: Manix84 input: dimmer_device_id: name: Dimmer Remote Device -
manix84 renamed this gist
May 10, 2023 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
manix84 revised this gist
Dec 21, 2022 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -3,7 +3,7 @@ blueprint: description: | An automation for Hue remotes, which has brightness buttons (100%, 66%, 33%, 0%). domain: automation source_url: https://gist.github.com/manix84/7c9cccac1f498b6b0fa134054f86ecab input: dimmer_device_id: name: Dimmer Remote Device -
manix84 created this gist
Dec 21, 2022 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,115 @@ blueprint: name: Hue Remote Lights description: | An automation for Hue remotes, which has brightness buttons (100%, 66%, 33%, 0%). domain: automation source_url: https://gist.github.com/manix84/ input: dimmer_device_id: name: Dimmer Remote Device description: "Your Hue dimmer remote (e.g. RWL020); check Hue integration and/or Hue app if you don't know the name" selector: device: integration: zha light_target: name: Lights description: "The lights you want the remote to affect" selector: target: entity: domain: light alias: "Office Lights: Remote" description: "" trigger: - device_id: !input dimmer_device_id domain: zha platform: device type: remote_button_short_press subtype: turn_on id: on_pressed - device_id: !input dimmer_device_id domain: zha platform: device type: remote_button_short_press subtype: turn_off id: off_pressed - device_id: !input dimmer_device_id domain: zha platform: device type: remote_button_short_press subtype: dim_up id: dim_up_pressed - device_id: !input dimmer_device_id domain: zha platform: device type: remote_button_short_press subtype: dim_down id: dim_down_pressed condition: [] action: - choose: - alias: 100% Brightness conditions: - condition: trigger id: on_pressed sequence: - service: light.turn_on data: kelvin: 2700 brightness_pct: 100 transition: 1 target: !input light_target - service: automation.turn_on data: {} target: !input automation_target - alias: 66% Brightness conditions: - condition: trigger id: dim_up_pressed sequence: - service: light.turn_on data: kelvin: 2700 brightness_pct: 66 transition: 1 target: !input light_target - service: automation.turn_on data: {} target: !input automation_target - alias: 33% Brightness conditions: - condition: trigger id: dim_down_pressed sequence: - service: light.turn_on data: kelvin: 2700 brightness_pct: 33 transition: 1 target: !input light_target - service: automation.turn_on data: {} target: !input automation_target - alias: Turn Off conditions: - condition: trigger id: off_pressed sequence: - service: light.turn_off data: transition: 2 target: !input light_target - service: automation.turn_on data: {} target: !input automation_target default: - service: persistent_notification.create data: message: >- Hue dimmer ran default event from "choose" action on button press! Please check any automations which may not be handling this event: {{ trigger.id }} notification_id: hue-remote-lights-with-automation title: >- Uncaught Dimmer Command ({{ trigger.id }}) mode: single