Button Events

This page was auto generated from button_maps.json

The following sections enumerate supported values for state.buttonevent for /sensors of type ZHASwitch.

dresden elektronik Lighting Switch

Model identifiers

  • "Lighting Switch"
Value Action Button
1002 Short release Top left button
1001 Hold Top left button
1003 Long release Top left button
2002 Short release Bottom left button
2001 Hold Bottom left button
2003 Long release Bottom left button
3002 Short release Top right button
3001 Hold Top right button
3003 Long release Top right button
4002 Short release Bottom right button
4001 Hold Bottom right button
4003 Long release Bottom right button

dresden elektronik Scene Switch

Model identifiers

  • "Scene Switch"
Value Action Button
1002 Short release Top left button
1001 Hold Top left button
1003 Long release Top left button
2002 Short release Bottom left button
2001 Hold Bottom left button
2003 Long release Bottom left button
3002 Short release Scene 1 button
4002 Short release Scene 2 button
5002 Short release Scene 3 button
6002 Short release Scene 4 button

GIRA / JUNG Switches and remotes

Model identifiers

  • "HS_4f_GJ_1"
  • "WS_4f_J_1"
  • "WS_3f_G_1"
Value Action Button
1002 Short release Button 1
1001 Hold Button 1
1003 Long release Button 1
2002 Short release Button 2
2001 Hold Button 2
2003 Long release Button 2
3002 Short release Button 3
4002 Short release Button 4
5002 Short release Button 5
6002 Short release Button 6
7002 Short release Button 7
8002 Short release Button 8

IKEA TRÅDFRI on/off switch

Model identifiers

  • "TRADFRI on/off switch"
  • "TRADFRI SHORTCUT Button"
Value Action Button
1002 Short release On button
1001 Hold On button
1003 Long release On button
2002 Short release Off button
2001 Hold Off button
2003 Long release Off button

IKEA TRÅDFRI open/close remote

Model identifiers

  • "TRADFRI open/close remote"
Value Action Button
1002 Short release Open button
1003 Long release Open button
2002 Short release Close button
2003 Long release Close button

IKEA TRÅDFRI round 5 button remote

Model identifiers

  • "TRADFRI remote control"
Value Action Button
1002 Short release Large middle button
1001 Hold Large middle button
2002 Short release Top dimm up button
2001 Hold Top dimm up button
2003 Long release Top dimm up button
3002 Short release Bottom dimm down button
3001 Hold Bottom dimm down button
3003 Long release Bottom dimm down button
4002 Short release Left arrow button
4001 Hold Left arrow button
4003 Long release Left arrow button
5002 Short release Right arrow button
5001 Hold Right arrow button
5003 Long release Right arrow button

OSRAM Lightify Switch Mini

Model identifiers

  • "Lightify Switch Mini"
Value Action Button
1002 Short release Up button
1001 Hold Up button
1003 Long release Up button
3002 Short release Middle button
3001 Hold Middle button
3003 Long release Middle button
2002 Short release Down button
2001 Hold Down button
2003 Long release Down button

OSRAM Lightify 4 button remote (1)

Model identifiers

  • "Switch 4x EU-LIGHTIFY"
  • "Switch 4x-LIGHTIFY"
Value Action Button
1002 Short release Top left button
1001 Hold Top left button
1003 Long release Top left button
2002 Short release Top right button
2001 Hold Top right button
2003 Long release Top right button
3002 Short release Bottom left button
3001 Hold Bottom left button
3003 Long release Bottom left button
4002 Short release Bottom right button
4001 Hold Bottom right button
4003 Long release Bottom right button

OSRAM Lightify 4 button remote (2)

Model identifiers

  • "Switch-LIGHTIFY"
Value Action Button
1002 Short release Top left button
1001 Hold Top left button
1003 Long release Top left button
2002 Short release Top right button
2001 Hold Top right button
2003 Long release Top right button
3002 Short release Bottom left button
3001 Hold Bottom left button
3003 Long release Bottom left button
4002 Short release Bottom right button
4001 Hold Bottom right button
4003 Long release Bottom right button

IKEA TRÅDFRI dimmer

Model identifiers

  • "TRADFRI wireless dimmer"
Value Action Button
1002 Short release Rotate full brightness
2002 Short release Rotate clockwise
3002 Short release Rotate counter clockwise
4002 Short release Rotate to off

IKEA TRÅDFRI motion sensor

Model identifiers

  • "TRADFRI motion sensor"
Value Action Button
1002 Short release Motion

IKEA SYMFONISK remote

Model identifiers

  • "SYMFONISK Sound Controller"
Value Action Button
1002 Short release Button 1
1004 Double press Button 1
1005 Treeble press Button 1
2001 Hold Rotate clockwise
2003 Long release Rotate clockwise
2002 Short release Rotate clockwise
3001 Hold Rotate counter clockwise
3003 Long release Rotate counter clockwise
3002 Short release Rotate counter clockwise

Busch-Jaeger Switches

Model identifiers

  • "RB01"
  • "RM01"
Value Action Button
1002 Short release Button 1
1001 Hold Button 1
1003 Long release Button 1
2002 Short release Button 2
2001 Hold Button 2
2003 Long release Button 2
3002 Short release Button 3
3001 Hold Button 3
3003 Long release Button 3
4002 Short release Button 4
4001 Hold Button 4
4003 Long release Button 4
5002 Short release Button 5
5001 Hold Button 5
5003 Long release Button 5
6002 Short release Button 6
6001 Hold Button 6
6003 Long release Button 6
7002 Short release Button 7
7001 Hold Button 7
7003 Long release Button 7
8002 Short release Button 8
8001 Hold Button 8
8003 Long release Button 8

Trust ZYCT-202 remote

Model identifiers

  • "ZYCT-202"
  • "ZLL-NonColorController"
Value Action Button
1002 Short release Button 1
2001 Hold Button 2
2003 Long release Button 2
3001 Hold Button 3
3003 Long release Button 3
4002 Short release Button 4

Xiaomi QBKG11LM switch

Model identifiers

  • "lumi.ctrl_ln1.aq1"
Value Action Button
1002 Short release Button 1
1004 Double press Button 1

Xiaomi QBKG12LM switch

Model identifiers

  • "lumi.ctrl_ln2.aq1"
Value Action Button
1002 Short release Left button
1004 Double press Left button
2002 Short release Right button
2004 Double press Right button
3002 Short release Both buttons

Xiaomi WXKG03LM 2018 remote

Model identifiers

  • "lumi.remote.b186acn01"
Value Action Button
1002 Short release Button 1
1004 Double press Button 1
1001 Hold Button 1

Xiaomi WXKG12LM remote

Model identifiers

  • "lumi.sensor_switch.aq3"
Value Action Button
1002 Short release Button 1
1004 Double press Button 1
1001 Hold Button 1
1003 Long release Button 1
1007 Shake Button 1

Xiaomi WXKG11LM 2018 remote

Model identifiers

  • "lumi.remote.b1acn01"
Value Action Button
1002 Short release Button 1
1004 Double press Button 1
1001 Hold Button 1
1003 Long release Button 1

Xiaomi WXKG11LM 2016 remote

Model identifiers

  • "lumi.sensor_switch.aq2"
Value Action Button
1002 Short release Button 1
1004 Double press Button 1
1005 Treeble press Button 1
1006 Quadruple press Button 1

Xiaomi WXKG01LM remote

Model identifiers

  • "lumi.sensor_switch"
Value Action Button
1000 Initial press Button 1
1002 Short release Button 1
1003 Long release Button 1
1004 Double press Button 1
1005 Treeble press Button 1
1006 Quadruple press Button 1
1010 Many press Button 1

Xiaomi Vibration sensor (not implemented)

Model identifiers

  • "lumi.vibration"
Value Action Button
1007 Shake Button 1
1009 Tilt Button 1
1008 Drop Button 1

Ubisys Universal dimmer D1 and power switch S1

Model identifiers

  • "D1"
  • "S1"
Value Action Button
1002 Short release Button 1
1001 Hold Button 1
1003 Long release Button 1
2002 Short release Button 2
2001 Hold Button 2
2003 Long release Button 2

Ubisys Control unit C4

Model identifiers

  • "C4"
Value Action Button
1002 Short release Button 1
1001 Hold Button 1
1003 Long release Button 1
2002 Short release Button 2
2001 Hold Button 2
2003 Long release Button 2
3002 Short release Button 3
3001 Hold Button 3
3003 Long release Button 3
4002 Short release Button 4
4001 Hold Button 4
4003 Long release Button 4

Ubisys Power switch S2

Model identifiers

  • "S2"
Value Action Button
1002 Short release Button 1
1001 Hold Button 1
1003 Long release Button 1
2002 Short release Button 2
2001 Hold Button 2
2003 Long release Button 2

Lutron LZL4BWHL remote

Model identifiers

  • "LZL4BWHL01 Remote"
Value Action Button
1002 Short release Button 1
2001 Hold Button 2
2003 Long release Button 2
3001 Hold Button 3
3003 Long release Button 3
4002 Short release Button 4

Lutron Z3-1BRL remote

Model identifiers

  • "Z3-1BRL"
Value Action Button
1002 Short release Button 1
2002 Short release Button 2
3002 Short release Button 3

Innr RC 110 remote

Model identifiers

  • "RC 110"
Value Action Button
1002 Short release Button 1
2001 Hold Button 2
2002 Short release Button 2
2003 Long release Button 2
3001 Hold Button 3
3002 Short release Button 3
3003 Long release Button 3
4002 Short release Button 4
5002 Short release Button 5
6002 Short release Button 6
7002 Short release Button 7
8002 Short release Button 8
9002 Short release Button 9
10002 Short release Button 10
11001 Hold Button 11
11002 Short release Button 11
11003 Long release Button 11
12001 Hold Button 12
12002 Short release Button 12
12003 Long release Button 12
13002 Short release Button 13
14001 Hold Button 14
14002 Short release Button 14
14003 Long release Button 14
15001 Hold Button 15
15002 Short release Button 15
15003 Long release Button 15
16002 Short release Button 16
17001 Hold Button 17
17002 Short release Button 17
17003 Long release Button 17
18001 Hold Button 18
18002 Short release Button 18
18003 Long release Button 18
19002 Short release Button 19
20001 Hold Button 20
20002 Short release Button 20
20003 Long release Button 20
21001 Hold Button 21
21002 Short release Button 21
21003 Long release Button 21
22002 Short release Button 22
23001 Hold Button 23
23002 Short release Button 23
23003 Long release Button 23
24001 Hold Button 24
24002 Short release Button 24
24003 Long release Button 24
25002 Short release Button 25
26001 Hold Button 26
26002 Short release Button 26
26003 Long release Button 26
27001 Hold Button 27
27002 Short release Button 27
27003 Long release Button 27

iCasa ICZB-KPD12 remote

Model identifiers

  • "ICZB-KPD12"
Value Action Button
1002 Short release Off button
1001 Hold Off button
1003 Long release Off button
2002 Short release On button
2001 Hold On button
2003 Long release On button

iCasa ICZB-KPD14S remote

Model identifiers

  • "ICZB-KPD14S"
Value Action Button
1002 Short release Off button
1001 Hold Off button
1003 Long release Off button
2002 Short release On button
2001 Hold On button
2003 Long release On button
3002 Short release S1 button
3003 Long release S1 button
4002 Short release S2 button
4003 Long release S2 button

iCasa ICZB-KPD18S remote

Model identifiers

  • "ICZB-KPD18S"
Value Action Button
1002 Short release Off button
1001 Hold Off button
1003 Long release Off button
2002 Short release On button
2001 Hold On button
2003 Long release On button
3002 Short release S1 button
3003 Long release S1 button
4002 Short release S2 button
4003 Long release S2 button
5002 Short release S3 button
5003 Long release S3 button
6002 Short release S4 button
6003 Long release S4 button
7002 Short release S5 button
7003 Long release S5 button
8002 Short release S6 button
8003 Long release S6 button

iCasa Remotes

Model identifiers

  • "ICZB-RM11S"
  • "ZGRC-KEY-012"
  • "ZGRC-KEY-013"
  • "RGBgenie ZB-5001"
Value Action Button
1002 Short release Button 1
1001 Hold Button 1
1003 Long release Button 1
2002 Short release Button 2
2001 Hold Button 2
2003 Long release Button 2
9002 Short release Button 9
10002 Short release Button 10
3002 Short release Button 3
3001 Hold Button 3
3003 Long release Button 3
4002 Short release Button 4
4001 Hold Button 4
4003 Long release Button 4
5002 Short release Button 5
5001 Hold Button 5
5003 Long release Button 5
6002 Short release Button 6
6001 Hold Button 6
6003 Long release Button 6
7002 Short release Button 7
7001 Hold Button 7
7003 Long release Button 7
8002 Short release Button 8
8001 Hold Button 8
8003 Long release Button 8

Samjin Remote

Model identifiers

  • "button"
Value Action Button
1002 Short release Button 1
1004 Double press Button 1
1001 Hold Button 1

Sunricher CCT remote

Model identifiers

Value Action Button
1002 Short release Button 1
2002 Short release Button 2
3001 Hold Button 3
3003 Long release Button 3
4002 Short release Button 4
4001 Hold Button 4
4003 Long release Button 4

RGBgenie Micro remote ZB-5121

Model identifiers

  • "RGBgenie ZB-5121"
Value Action Button
1002 Short release Button 1
2002 Short release Button 2
3002 Short release Button 3
3001 Hold Button 3
3003 Long release Button 3
4002 Short release Button 4
4001 Hold Button 4
4003 Long release Button 4
5002 Short release Button 5
5003 Long release Button 5

Sunricher Wireless switches from Sunricher, Namron and EcoDim

Model identifiers

  • "ED-10010"
  • "ED-10011"
  • "ED-10012"
  • "ED-10013"
  • "ED-10014"
  • "ED-10015"
  • "ZG2833K8_EU05"
  • "ZG2835"
  • "4512700"
  • "4512701"
  • "4512702"
  • "4512703"
  • "4512705"
  • "4512714"
  • "4512719"
  • "4512720"
  • "4512721"
  • "4512722"
Value Action Button
1002 Short release Button 1
1001 Hold Button 1
1003 Long release Button 1
2002 Short release Button 2
2001 Hold Button 2
2003 Long release Button 2
3002 Short release Button 3
3001 Hold Button 3
3003 Long release Button 3
4002 Short release Button 4
4001 Hold Button 4
4003 Long release Button 4
5002 Short release Button 5
5001 Hold Button 5
5003 Long release Button 5
6002 Short release Button 6
6001 Hold Button 6
6003 Long release Button 6
7002 Short release Button 7
7001 Hold Button 7
7003 Long release Button 7
8002 Short release Button 8
8001 Hold Button 8
8003 Long release Button 8

Tuya 3-gang remote

Model identifiers

  • "_TZ3000_bi6lpsew"
  • "_TZ3400_keyjhapk"
  • "_TYZB02_key8kk7r"
  • "_TZ3400_keyjqthh"
  • "_TZ3400_key8kk7r"
  • "_TZ3000_vp6clf9d"
  • "_TYZB02_keyjqthh"
  • "_TZ3000_peszejy7"
  • "_TZ3000_qzjcsmar"
  • "_TZ3000_owgcnkrh"
  • "_TZ3000_adkvzooy"
  • "_TZ3000_arfwfgoa"
Value Action Button
1002 Short release Button 1
1004 Double press Button 1
1003 Long release Button 1
2002 Short release Button 2
2004 Double press Button 2
2003 Long release Button 2
3002 Short release Button 3
3004 Double press Button 3
3003 Long release Button 3
4002 Short release Button 4
4004 Double press Button 4
4003 Long release Button 4

Legrand Remote switch

Model identifiers

  • "Remote switch"
Value Action Button
1002 Short release Button 1
2002 Short release Button 2
1001 Hold Button 1
1003 Long release Button 1
2001 Hold Button 2
2003 Long release Button 2

Legrand Double remote switch

Model identifiers

  • "Double gangs remote switch"
Value Action Button
1002 Short release Button 1
2002 Short release Button 2
1001 Hold Button 1
1003 Long release Button 1
2001 Hold Button 2
2003 Long release Button 2
3002 Short release Button 3
4002 Short release Button 4
3001 Hold Button 3
3003 Long release Button 3
4001 Hold Button 4
4003 Long release Button 4

Xiaomi Aqara Opple switches

Model identifiers

  • "lumi.remote.b286opcn01"
  • "lumi.remote.b486opcn01"
  • "lumi.remote.b686opcn01"
Value Action Button
1001 Hold Button 1
1002 Short release Button 1
1004 Double press Button 1
1005 Treeble press Button 1
1003 Long release Button 1
2001 Hold Button 2
2002 Short release Button 2
2004 Double press Button 2
2005 Treeble press Button 2
2003 Long release Button 2
3001 Hold Button 3
3002 Short release Button 3
3004 Double press Button 3
3005 Treeble press Button 3
3003 Long release Button 3
4001 Hold Button 4
4002 Short release Button 4
4004 Double press Button 4
4005 Treeble press Button 4
4003 Long release Button 4
5001 Hold Button 5
5002 Short release Button 5
5004 Double press Button 5
5005 Treeble press Button 5
5003 Long release Button 5
6001 Hold Button 6
6002 Short release Button 6
6004 Double press Button 6
6005 Treeble press Button 6
6003 Long release Button 6

Legrand Shutter switch remote

Model identifiers

  • "Shutters central remote switch"
Value Action Button
1002 Short release Button 1
2002 Short release Button 2
3002 Short release Button 3
3003 Long release Button 3

Legrand Remote toggle switch

Model identifiers

  • "Remote toggle switch"
Value Action Button
1002 Short release Button 1
2002 Short release Button 2

Legrand Remote motion sensor

Model identifiers

  • "Remote motion sensor"
Value Action Button
1002 Short release Button 1
2002 Short release Button 2
3002 Short release Button 3

Bitron 4 button remote 902010/23

Model identifiers

  • "902010/23"
Value Action Button
1002 Short release Button 1
2002 Short release Button 2
3002 Short release Button 3
4002 Short release Button 4

Heiman Smart controller HS1RC-M and HS1RC-E

Model identifiers

  • "RC_V14"
  • "RC-EM"
Value Action Button
1002 Short release Button 1
2002 Short release Button 2
3002 Short release Button 3
4002 Short release Button 4

Tint Remote

Model identifiers

  • "ZBT-Remote-ALL-RGBW"
Value Action Button
1002 Short release Button 1
2002 Short release Button 2
2001 Hold Button 2
2003 Long release Button 2
3002 Short release Button 3
3001 Hold Button 3
3003 Long release Button 3
4002 Short release Button 4
5002 Short release Button 5
6002 Short release Button 6
7002 Short release Button 7
8002 Short release Button 8
9002 Short release Button 9
10002 Short release Button 10
11002 Short release Button 11
12002 Short release Button 12

Sage Door bell

Model identifiers

  • "Bell"
Value Action Button
1002 Short release Button 1
2002 Short release Button 2
3001 Hold Button 3
3003 Long release Button 3

Sonoff Switch SNZB-01

Model identifiers

  • "WB01"
  • "WB-01"
Value Action Button
1004 Double press Button 1
1003 Long release Button 1
1002 Short release Button 1

YPHIX RGB wall switch

Model identifiers

  • "ZGRC-KEY-009"
Value Action Button
1002 Short release Button 1
2002 Short release Button 2
3002 Short release Button 3
3001 Hold Button 3
3003 Long release Button 3
4002 Short release Button 4
4001 Hold Button 4
4003 Long release Button 4
5002 Short release Button 5
5001 Hold Button 5
5003 Long release Button 5
6002 Short release Button 6
6001 Hold Button 6
6003 Long release Button 6
7002 Short release Button 7
8002 Short release Button 8

YPHIX K2 wall switch

Model identifiers

  • "ZGRC-KEY-007"
Value Action Button
1002 Short release Button 1
2002 Short release Button 2
1001 Hold Button 1
1003 Long release Button 1
2001 Hold Button 2
2003 Long release Button 2

EcoSmart/LDS 4 button CCT switch

Model identifiers

  • "ZBT-CCTSwitch-D0001"
Value Action Button
1002 Short release Button 1
2002 Short release Button 2
2001 Hold Button 2
2003 Long release Button 2
3002 Short release Button 3
3001 Hold Button 3

Linkind 1 button remote ZS232000178

Model identifiers

  • "ZBT-DIMSwitch-D0001"
Value Action Button
1002 Short release Button 1
2002 Short release Button 2
1001 Hold Button 1
1003 Long release Button 1
2001 Hold Button 2
2003 Long release Button 2

Iluminize 4 button CCT touch remote

Model identifiers

  • "ZGRC-TEUR-003"
Value Action Button
1002 Short release Button 1
2002 Short release Button 2
3002 Short release Button 3
4002 Short release Button 4
3001 Hold Button 3
3003 Long release Button 3
4001 Hold Button 4
4003 Long release Button 4
5002 Short release Button 5
6002 Short release Button 6
6003 Long release Button 6
7002 Short release Button 7
8002 Short release Button 8
9002 Short release Button 9
10002 Short release Button 10
9001 Hold Button 9
9003 Long release Button 9
10001 Hold Button 10
10003 Long release Button 10
11002 Short release Button 11
12002 Short release Button 12
12003 Long release Button 12
13002 Short release Button 13
14002 Short release Button 14
15002 Short release Button 15
16002 Short release Button 16
15001 Hold Button 15
15003 Long release Button 15
16001 Hold Button 16
16003 Long release Button 16
17002 Short release Button 17
18002 Short release Button 18
18003 Long release Button 18
19002 Short release Button 19
20002 Short release Button 20
21002 Short release Button 21
22002 Short release Button 22
21001 Hold Button 21
21003 Long release Button 21
22001 Hold Button 22
22003 Long release Button 22
23002 Short release Button 23
24002 Short release Button 24
24003 Long release Button 24

LIDL Livarno Lux LIDL / Livarno Lux Remote Control (_TYZB01_bngwdjsr)

Model identifiers

  • "HG06323"
Value Action Button
1002 Short release Button 1
1004 Double press Button 1
1005 Treeble press Button 1
1006 Quadruple press Button 1
2002 Short release Button 2
2001 Hold Button 2
2003 Long release Button 2
3002 Short release Button 3
3001 Hold Button 3
3003 Long release Button 3
4002 Short release Button 4

Sengled Sengled Smart Light Switch

Model identifiers

  • "E1E-G7F"
Value Action Button
1002 Short release Button 1
1004 Double press Button 1
1003 Long release Button 1
2002 Short release Button 2
3002 Short release Button 3
4002 Short release Button 4
4004 Double press Button 4
4003 Long release Button 4

ELKO Elko ESH 316 Endevender RF

Model identifiers

  • "ElkoDimmerRemoteZHA"
Value Action Button
1002 Short release Action button
2002 Short release Dim up
3002 Short release Dim down

Adurolight Manufacturing Eria Adurosmart Wireless Dimming Switch

Model identifiers

  • "Adurolight_NCC"
Value Action Button
1002 Short release Button 1
2002 Short release Button 2
3002 Short release Button 3
4002 Short release Button 4