瀏覽代碼

feat(zx_g30_alarm): add manual triggering (sos) to alarm panel

This device predates the alarm_control_panel, and the original submission did not
include this feature so it was left out of the conversion to alarm_control_panel.

It is likely it is supported on the original ZX device as well as the Tugard with
same G30 model, but even if it isn't the addition of this feature should not cause
too many issues other than misleading the user into thinking it might work.

Issue #5902
Jason Rumney 1 周之前
父節點
當前提交
5e26520586
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      custom_components/tuya_local/devices/zx_g30_alarm.yaml

+ 2 - 0
custom_components/tuya_local/devices/zx_g30_alarm.yaml

@@ -19,6 +19,8 @@ entities:
             value: armed_away
             value: armed_away
           - dps_val: home
           - dps_val: home
             value: armed_home
             value: armed_home
+          - dps_val: sos
+            value: triggered
       - id: 22
       - id: 22
         type: integer
         type: integer
         name: call_looptimes
         name: call_looptimes