Răsfoiți Sursa

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 2 ani în urmă
părinte
comite
c0f748ab00

+ 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
-
-