ZHA Devices - jcallaghan/home-assistant-config GitHub Wiki
ZHA Devices
Button mappings (type)
Button |
Mapping |
on |
turn_on |
up |
dim_up |
down |
dim_down |
off |
turn_off |
flipped |
device_flipped, face_1, face_6 |
knocked |
device_knocked, face_1, face_6 |
slid |
device_slid |
dropped |
device_dropped |
shaken |
device_shaken |
rotate |
device_rotated |
Button behaviour (subtype)
Behaviour type |
Mapping |
Button pressed |
remote_button_short_press |
Button released after short press |
remote_button_short_release |
Button continously pressed |
remote_button_long_press |
Button released after long press |
remote_button_long_release |
Button double press |
remote_button_double_press |
Shaken |
device_shaken |
Flipped |
face_any, face_1, face_6 |
Knocked |
knocked_any, face_1, face_6 |
Slid |
slid_any, face_1, face_6 |
Dropped |
turn_on |
Shaken |
turn_on |
Rotated |
left, right |
Hue Remotes
Supports turn_on
, dim_up
, dim_down
and turn_off
buttons via short_press
and long_press
.
Remote |
Device ID |
Bathroom Light Switch |
b0b521532dc6484680ad25178218ce25 |
Bedroom Light Switch |
4d4b2b3ed7184f409f7abbf4636ff7f5 |
Bedroom Wall Light Switch |
d5c68f7e7c7a47d2ab4146be5c0ed126 |
Dining Room Light Switch |
25dc7776931c4212b3d0aee57586433d |
Florence Bedroom Light Switch |
0c3931e3e801477fa1c1bdfd9941ee46 |
Guest Bedroom Light Switch |
ec715141c2564ed6945e5f4157e830a8 |
Hall Light Switch |
1212c38bb0a640599c9d1b81216741b1 |
Kitchen Light Switch |
7674f23b35d5462db18897118ac97f78 |
Landing Light Switch |
7675f7d70c154bcc813a614788e636a0 |
Living Room Light Switch |
d334690e645f4051a15213ae674c1ac8 |
Hue Smart Button
Supports turn_on
and turn_off
button via short_press
Device |
Device ID |
Spare #1 |
2f43ab8838674d62a8f39bc78651e1bb |
Aqara V1 Buttons
Device |
Device ID |
Dining Room Workbench Switch |
69f9be6f1e8b473c832a432ca2f6d96e |
Aqara Button Switch v1 #2 |
? |
Aqara V2 Buttons
Supports short_press
, double_press
, long_press
and long_release
.
The UI appears to indicate shaken
is also available but these don't appear when listening to zha_event
events.
Device |
Device ID |
Bedroom Button Switch |
c506a4cec1354ca5b9a38eb14b06d147 |
Ring Alarm Button |
b7f4a5e65a55415ea9dcb44950bd0a28 |
Aqara Button Switch #2 |
93eecc2edd40493ea2461a1b51860fb9 |
Aqara Button Switch #3 |
e8f1bccfb9aa4eb0a8a0f235e6ffd98b |
Aqara Cube
Supports rotate_left
, rotate_right
, shaken
, dropped
, slide_any_face
, slid_face_1...6
, knocked_any_face
, knocked_face1...6
, flipped_any_face
, flipped_1...6
Device |
Device ID |
Magic Cube #1 |
1a3d299cb7e2488c9cfb7fc948064a82 |
Smartthings Buttons
Supports short_press
and long_press
and also button turned_on
and turned_off
binary_sensory events.
Device |
Device ID |
Smartthings button #1 |
8ac60fa6eaca4ab0ad8bcd6498c33f94 |