kerui_120db_sirenalarm.yaml 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  1. name: Alarm siren
  2. products:
  3. - id: nzopxptg7wxjnnan
  4. manufacturer: Kerui
  5. model: 120dB siren alarm
  6. entities:
  7. - entity: alarm_control_panel
  8. dps:
  9. - id: 1
  10. type: string
  11. name: alarm_state
  12. mapping:
  13. - dps_val: disarmed
  14. value: disarmed
  15. - dps_val: arm
  16. value: armed_away
  17. - dps_val: home
  18. value: armed_home
  19. - dps_val: sos
  20. value: triggered
  21. - id: 40
  22. type: string
  23. name: unknown_40
  24. - entity: number
  25. name: Exit delay
  26. icon: "mdi:clock-out"
  27. class: duration
  28. category: config
  29. dps:
  30. - id: 2
  31. type: integer
  32. name: value
  33. unit: s
  34. range:
  35. min: 0
  36. max: 99
  37. - entity: number
  38. name: Siren duration
  39. class: duration
  40. category: config
  41. icon: "mdi:bullhorn"
  42. dps:
  43. - id: 3
  44. type: integer
  45. name: value
  46. unit: min
  47. range:
  48. min: 1
  49. max: 5
  50. - entity: switch
  51. name: Alarm sound
  52. icon: "mdi:alarm-bell"
  53. category: config
  54. dps:
  55. - id: 4
  56. type: boolean
  57. name: switch
  58. - entity: switch
  59. name: Alarm light
  60. icon: "mdi:alarm-light"
  61. category: config
  62. dps:
  63. - id: 6
  64. type: boolean
  65. name: switch
  66. - entity: binary_sensor
  67. class: plug
  68. category: diagnostic
  69. dps:
  70. - id: 15
  71. type: boolean
  72. name: sensor
  73. - entity: button
  74. name: Mute
  75. icon: "mdi:volume-mute"
  76. dps:
  77. - id: 25
  78. type: boolean
  79. optional: true
  80. name: button
  81. - entity: event
  82. translation_key: alarm
  83. dps:
  84. - id: 26
  85. type: string
  86. name: event
  87. optional: true
  88. mapping:
  89. - dps_val: null
  90. value: null
  91. - value: alarm
  92. - id: 26
  93. type: utf16b64
  94. optional: true
  95. name: message
  96. - entity: switch
  97. name: Notifications
  98. icon: "mdi:message-alert"
  99. category: config
  100. dps:
  101. - id: 27
  102. type: boolean
  103. name: switch
  104. - entity: number
  105. name: Entry delay
  106. category: config
  107. class: duration
  108. icon: "mdi:clock-in"
  109. dps:
  110. - id: 28
  111. type: integer
  112. name: value
  113. unit: s
  114. range:
  115. min: 0
  116. max: 200
  117. - entity: switch
  118. name: Delay sound
  119. icon: "mdi:progress-alert"
  120. category: config
  121. dps:
  122. - id: 29
  123. type: boolean
  124. optional: true
  125. name: switch
  126. - entity: binary_sensor
  127. class: sound
  128. name: Alarm
  129. category: diagnostic
  130. dps:
  131. - id: 32
  132. type: string
  133. name: sensor
  134. mapping:
  135. - dps_val: alarm
  136. value: true
  137. - value: false
  138. - id: 33
  139. type: string
  140. optional: true
  141. name: info
  142. - entity: button
  143. translation_key: factory_reset
  144. hidden: true
  145. category: config
  146. dps:
  147. - id: 34
  148. type: boolean
  149. optional: true
  150. name: button
  151. - entity: text
  152. name: Subdevice admin
  153. category: config
  154. icon: "mdi:cogs"
  155. hidden: true
  156. dps:
  157. - id: 38
  158. type: base64
  159. optional: true
  160. name: value
  161. - entity: binary_sensor
  162. name: SOS
  163. class: safety
  164. category: diagnostic
  165. dps:
  166. - id: 44
  167. type: boolean
  168. name: sensor