digoo_hamb_alarm.yaml 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206
  1. name: Alarm system
  2. products:
  3. - id: a4xyigjpkcmfafvh
  4. name: Digoo DG-HAMB
  5. primary_entity:
  6. entity: alarm_control_panel
  7. dps:
  8. - id: 1
  9. type: string
  10. name: alarm_state
  11. mapping:
  12. - dps_val: disarmed
  13. value: disarmed
  14. - dps_val: arm
  15. value: armed_away
  16. - dps_val: home
  17. value: armed_home
  18. - dps_val: sos
  19. value: triggered
  20. - id: 1
  21. type: string
  22. name: trigger
  23. mapping:
  24. - dps_val: sos
  25. value: true
  26. - value: false
  27. - id: 36
  28. type: string
  29. optional: true
  30. name: sub_class
  31. - id: 37
  32. type: string
  33. optional: true
  34. name: sub_type
  35. - id: 38
  36. type: string
  37. optional: true
  38. name: sub_admin
  39. - id: 39
  40. type: string
  41. optional: true
  42. name: sub_state
  43. secondary_entities:
  44. - entity: number
  45. name: Exit delay
  46. category: config
  47. icon: "mdi:clock-out"
  48. dps:
  49. - id: 2
  50. type: integer
  51. name: value
  52. unit: s
  53. range:
  54. min: 0
  55. max: 300
  56. - entity: number
  57. name: Alarm time
  58. category: config
  59. icon: "mdi:alarm"
  60. dps:
  61. - id: 3
  62. type: integer
  63. name: value
  64. unit: min
  65. range:
  66. min: 0
  67. max: 60
  68. - entity: switch
  69. name: Alarm sound
  70. icon: "mdi:alarm-bell"
  71. category: config
  72. dps:
  73. - id: 4
  74. type: boolean
  75. name: switch
  76. - entity: switch
  77. name: Alarm light
  78. icon: "mdi:alarm-light"
  79. category: config
  80. dps:
  81. - id: 6
  82. type: boolean
  83. name: switch
  84. - entity: switch
  85. translation_key: keytone
  86. dps:
  87. - id: 12
  88. type: boolean
  89. name: switch
  90. - entity: light
  91. translation_key: backlight
  92. category: config
  93. dps:
  94. - id: 13
  95. type: boolean
  96. name: switch
  97. - entity: switch
  98. name: Alarm call
  99. icon: "mdi:phone-alert"
  100. category: config
  101. dps:
  102. - id: 20
  103. type: boolean
  104. name: switch
  105. - id: 18
  106. type: string
  107. optional: true
  108. name: phone_number
  109. - entity: switch
  110. name: Alarm SMS
  111. icon: "mdi:message-alert"
  112. category: config
  113. dps:
  114. - id: 21
  115. type: boolean
  116. name: switch
  117. - entity: select
  118. name: Zone activation
  119. icon: "mdi:floor-plan"
  120. category: config
  121. dps:
  122. - id: 24
  123. type: string
  124. name: option
  125. optional: true
  126. mapping:
  127. - dps_val: MODE_HOME_ARM
  128. value: armed_home
  129. - dps_val: MODE_ARM
  130. value: armed_away
  131. - dps_val: MODE_24
  132. value: armed_24h
  133. - dps_val: MODE_OFF
  134. value: disarmed
  135. - dps_val: MODE_DOORBELL
  136. value: doorbell
  137. - dps_val: MODE_24_SILENT
  138. value: silent_24h
  139. - dps_val: HOME_ARM_NO_DELAY
  140. value: armed_home_immediate
  141. - dps_val: ARM_NO_DELAY
  142. value: armed_away_immediate
  143. - id: 103
  144. type: string
  145. optional: true
  146. name: zone
  147. - entity: event
  148. name: Alarm
  149. dps:
  150. - id: 26
  151. type: string
  152. name: event
  153. optional: true
  154. mapping:
  155. - dps_val: null
  156. value: null
  157. - value: alarm
  158. - id: 26
  159. type: string
  160. optional: true
  161. name: message
  162. - entity: number
  163. name: Entry delay
  164. category: config
  165. icon: "mdi:clock-in"
  166. dps:
  167. - id: 28
  168. type: integer
  169. name: value
  170. unit: s
  171. range:
  172. min: 0
  173. max: 100
  174. - entity: binary_sensor
  175. class: plug
  176. category: diagnostic
  177. dps:
  178. - id: 101
  179. type: string
  180. name: sensor
  181. mapping:
  182. - dps_val: normal
  183. value: true
  184. - value: false
  185. - entity: binary_sensor
  186. class: battery
  187. category: diagnostic
  188. dps:
  189. - id: 101
  190. type: string
  191. name: sensor
  192. mapping:
  193. - dps_val: BatteryIsLow
  194. value: true
  195. - value: false
  196. - entity: binary_sensor
  197. class: tamper
  198. category: diagnostic
  199. dps:
  200. - id: 104
  201. type: string
  202. name: sensor
  203. mapping:
  204. - dps_val: TAMPER
  205. value: true
  206. - value: false