loratap_zigbee_six_switch.yaml 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. name: Six button remote
  2. products:
  3. - id: iszegwpd
  4. manufacturer: LoraTap
  5. name: Six gang Zigbee remote
  6. entities:
  7. - entity: event
  8. name: Button 1
  9. class: button
  10. dps:
  11. - id: 1
  12. type: string
  13. name: event
  14. optional: true
  15. mapping:
  16. - dps_val: single_click
  17. value: single_click
  18. - dps_val: long_press
  19. value: long_press
  20. - dps_val: double_click
  21. value: double_click
  22. - entity: event
  23. name: Button 2
  24. class: button
  25. dps:
  26. - id: 2
  27. type: string
  28. name: event
  29. optional: true
  30. mapping:
  31. - dps_val: single_click
  32. value: single_click
  33. - dps_val: long_press
  34. value: long_press
  35. - dps_val: double_click
  36. value: double_click
  37. - entity: event
  38. name: Button 3
  39. class: button
  40. dps:
  41. - id: 3
  42. type: string
  43. name: event
  44. optional: true
  45. mapping:
  46. - dps_val: single_click
  47. value: single_click
  48. - dps_val: long_press
  49. value: long_press
  50. - dps_val: double_click
  51. value: double_click
  52. - entity: event
  53. name: Button 4
  54. class: button
  55. dps:
  56. - id: 4
  57. type: string
  58. name: event
  59. optional: true
  60. mapping:
  61. - dps_val: single_click
  62. value: single_click
  63. - dps_val: long_press
  64. value: long_press
  65. - dps_val: double_click
  66. value: double_click
  67. - entity: event
  68. name: Button 5
  69. class: button
  70. dps:
  71. - id: 5
  72. type: string
  73. name: event
  74. optional: true
  75. mapping:
  76. - dps_val: single_click
  77. value: single_click
  78. - dps_val: long_press
  79. value: long_press
  80. - dps_val: double_click
  81. value: double_click
  82. - entity: event
  83. name: Button 6
  84. class: button
  85. dps:
  86. - id: 6
  87. type: string
  88. name: event
  89. optional: true
  90. mapping:
  91. - dps_val: single_click
  92. value: single_click
  93. - dps_val: long_press
  94. value: long_press
  95. - dps_val: double_click
  96. value: double_click
  97. - entity: sensor
  98. class: battery
  99. category: diagnostic
  100. dps:
  101. - id: 10
  102. type: integer
  103. name: sensor
  104. unit: "%"