loratap_zigbee_six_switch.yaml 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. name: Six button remote
  2. products:
  3. - id: iszegwpd
  4. name: Six gang Zigbee remote
  5. primary_entity:
  6. entity: event
  7. name: Button 1
  8. class: button
  9. dps:
  10. - id: 1
  11. type: string
  12. name: event
  13. optional: true
  14. mapping:
  15. - dps_val: single_click
  16. value: single_click
  17. - dps_val: long_press
  18. value: long_press
  19. - dps_val: double_click
  20. value: double_click
  21. secondary_entities:
  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: "%"