Преглед изворни кода

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 пре 8 месеци
родитељ
комит
6f2c8a9132

+ 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