Skip to content

Instantly share code, notes, and snippets.

@JohnMcLear
Created February 10, 2022 22:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JohnMcLear/e28ce3b38cf779f2c8cdbb6893fec4f9 to your computer and use it in GitHub Desktop.
Save JohnMcLear/e28ce3b38cf779f2c8cdbb6893fec4f9 to your computer and use it in GitHub Desktop.
blueprint:
name: ZHA - Aqara Wireless Remote Switch (Double Rocker)
description: Automate your Xiaomi Aqara Wireless Remote Switch (Double Rocker) using ZHA events.
domain: automation
input:
aqara_mini_switch:
name: Select the Aqara Wireless Remote Switch (Double Rocker)
description: Aqara Wireless Remote Switch (Double Rocker)
selector:
device:
integration: zha
manufacturer: LUMI
entity:
domain: sensor
device_class: battery
button_single_press_left:
name: Single Press Left
description: Action to run on single press
default: []
selector:
action:
button_double_press_left:
name: Double Press Left
description: Action to run on double press
default: []
selector:
action:
button_long_press_left:
name: Long Press Left
description: Action to run when button is long pressed (held down)
default: []
selector:
action:
button_single_press_right:
name: Single Press Right
description: Action to run on single press
default: []
selector:
action:
button_double_press_right:
name: Double Press Right
description: Action to run on double press
default: []
selector:
action:
button_long_press_right:
name: Long Press Right
description: Action to run when button is long pressed (held down)
default: []
selector:
action:
button_single_press_both:
name: Single Press Both Buttons
description: Action to run on single presses
default: []
selector:
action:
button_double_press_both:
name: Double Press Both Buttons
description: Action to run on double presses
default: []
selector:
action:
button_long_press_both:
name: Long Press Both Buttons
description: Action to run when buttons are long pressed (held down)
default: []
selector:
action:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment