소스 검색

Digoo/PGST alarms: remove trigger dp

Since the alarm_state dp includes triggered, it is not necessary to
duplicate the dp id to separately define the trigger since a recent
change to fix the feature flags for this case.
Jason Rumney 11 달 전
부모
커밋
6f2c8a9132
2개의 변경된 파일0개의 추가작업 그리고 14개의 파일을 삭제
  1. 0 7
      custom_components/tuya_local/devices/digoo_hamb_alarm.yaml
  2. 0 7
      custom_components/tuya_local/devices/pgst_pw150_alarm.yaml

+ 0 - 7
custom_components/tuya_local/devices/digoo_hamb_alarm.yaml

@@ -18,13 +18,6 @@ entities:
             value: armed_home
           - dps_val: sos
             value: triggered
-      - id: 1
-        type: string
-        name: trigger
-        mapping:
-          - dps_val: sos
-            value: true
-          - value: false
       - id: 36
         type: string
         optional: true

+ 0 - 7
custom_components/tuya_local/devices/pgst_pw150_alarm.yaml

@@ -18,13 +18,6 @@ entities:
             value: armed_home
           - dps_val: sos
             value: triggered
-      - id: 1
-        type: string
-        name: trigger
-        mapping:
-          - dps_val: sos
-            value: true
-          - value: false
       - id: 24
         type: string
         name: zone_attribute