Parcourir la source

Gautone: remove binary_sensors for dp 101

The name of this dp is PowerEvent, and it looks like it really is a
"last event" rather than a current state.  Probably this will be better
as an event when that is implemented, with the trigger being a change in
value.

Issue #1059
Jason Rumney il y a 2 ans
Parent
commit
c0f748ab00
1 fichiers modifiés avec 0 ajouts et 24 suppressions
  1. 0 24
      custom_components/tuya_local/devices/gautone_pg103_alarm.yaml

+ 0 - 24
custom_components/tuya_local/devices/gautone_pg103_alarm.yaml

@@ -116,27 +116,3 @@ secondary_entities:
         name: message
         optional: true
         persist: false
-  - entity: binary_sensor
-    class: battery
-    category: diagnostic
-    dps:
-      - id: 101
-        type: string
-        name: sensor
-        mapping:
-          - dps_val: BatteryIsLow
-            value: true
-          - value: false
-  - entity: binary_sensor
-    class: plug
-    category: diagnostic
-    dps:
-      - id: 101
-        type: string
-        name: sensor
-        mapping:
-          - dps_val: powerDisconnect
-            value: false
-          - value: true
-
-