zx_g30_alarm.yaml 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  1. name: ZX-G30 alarm
  2. products:
  3. - id: mw27s3tus4bb7nz3
  4. name: Dual-network security system
  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. - id: 22
  19. type: integer
  20. name: call_looptimes
  21. - id: 23
  22. type: string
  23. name: telnet_state
  24. - id: 24
  25. type: string
  26. name: zone_attribute
  27. - id: 35
  28. type: boolean
  29. name: sub_add
  30. - id: 36
  31. type: string
  32. name: sub_class
  33. - id: 37
  34. type: string
  35. name: sub_type
  36. - id: 39
  37. type: string
  38. name: sub_state
  39. - id: 40
  40. type: string
  41. name: master_language
  42. secondary_entities:
  43. - entity: binary_sensor
  44. name: Alarm
  45. class: sound
  46. icon: "mdi:alarm-bell"
  47. dps:
  48. - id: 32
  49. type: string
  50. name: sensor
  51. mapping:
  52. - dps_val: normal
  53. value: false
  54. - dps_val: alarm
  55. value: true
  56. - entity: number
  57. name: Exit delay
  58. category: config
  59. icon: "mdi:timer"
  60. dps:
  61. - id: 2
  62. type: integer
  63. name: value
  64. unit: sec
  65. range:
  66. min: 0
  67. max: 300
  68. - entity: siren
  69. name: Alarm
  70. dps:
  71. - id: 3
  72. type: integer
  73. name: duration
  74. unit: min
  75. range:
  76. min: 1
  77. max: 60
  78. - id: 4
  79. type: boolean
  80. name: tone
  81. mapping:
  82. - dps_val: false
  83. value: "off"
  84. - dps_val: true
  85. value: "on"
  86. default: true
  87. - entity: binary_sensor
  88. class: tamper
  89. category: diagnostic
  90. dps:
  91. - id: 9
  92. type: boolean
  93. name: sensor
  94. - entity: switch
  95. name: Voice prompt
  96. category: config
  97. icon: "mdi:account-voice"
  98. dps:
  99. - id: 10
  100. type: boolean
  101. name: switch
  102. - entity: binary_sensor
  103. class: plug
  104. category: diagnostic
  105. dps:
  106. - id: 15
  107. type: boolean
  108. name: sensor
  109. - entity: sensor
  110. class: battery
  111. dps:
  112. - id: 16
  113. type: integer
  114. name: sensor
  115. unit: "%"
  116. - entity: binary_sensor
  117. class: battery
  118. category: diagnostic
  119. dps:
  120. - id: 17
  121. type: boolean
  122. name: sensor
  123. - entity: switch
  124. name: Alarm call
  125. category: config
  126. icon: "mdi:phone-alert"
  127. dps:
  128. - id: 20
  129. type: boolean
  130. name: switch
  131. - entity: switch
  132. name: Alarm SMS
  133. category: config
  134. icon: "mdi:message-alert"
  135. dps:
  136. - id: 21
  137. type: boolean
  138. name: switch
  139. - entity: switch
  140. name: Alarm notification
  141. category: config
  142. icon: "mdi:bell"
  143. dps:
  144. - id: 27
  145. type: boolean
  146. name: switch
  147. - entity: number
  148. name: Entry delay
  149. category: config
  150. icon: "mdi:timer"
  151. dps:
  152. - id: 28
  153. type: integer
  154. name: value
  155. unit: sec
  156. - entity: switch
  157. name: Tick down
  158. category: config
  159. icon: "mdi:metronome"
  160. dps:
  161. - id: 29
  162. type: boolean
  163. name: switch
  164. - entity: button
  165. name: Factory reset
  166. class: restart
  167. category: config
  168. dps:
  169. - id: 34
  170. type: boolean
  171. name: button