Răsfoiți Sursa

fault bitfield, config

Erőss Elemér 1 an în urmă
părinte
comite
ed21f96aff
1 a modificat fișierele cu 14 adăugiri și 17 ștergeri
  1. 14 17
      custom_components/tuya_local/devices/feyree_ev_charger.yaml

+ 14 - 17
custom_components/tuya_local/devices/feyree_ev_charger.yaml

@@ -91,36 +91,34 @@ secondary_entities:
             value: "Under voltage protection"
             value: "Under voltage protection"
           - dps_val: 2
           - dps_val: 2
             value: "Over voltage protection"
             value: "Over voltage protection"
-          - dps_val: 3
-            value: "Over current protection"
           - dps_val: 4
           - dps_val: 4
+            value: "Over current protection"
+          - dps_val: 8
             value: "Protective earth error"
             value: "Protective earth error"
-          - dps_val: 5
+          - dps_val: 16
             value: "Temperature is to high"
             value: "Temperature is to high"
-          - dps_val: 6
+          - dps_val: 32
             value: "Control pilot line error"
             value: "Control pilot line error"
-          - dps_val: 7
+          - dps_val: 64
             value: "Leak"
             value: "Leak"
-          - dps_val: 8
+          - dps_val: 128
             value: "Relay socket"
             value: "Relay socket"
-          - dps_val: 9
+          - dps_val: 256
             value: "Protective earth error 2"
             value: "Protective earth error 2"
-          - dps_val: 10
+          - dps_val: 512
             value: "Plug temperature is to high."
             value: "Plug temperature is to high."
-          - dps_val: 11
+          - dps_val: 1024
             value: "PCB temperature is to high."
             value: "PCB temperature is to high."
-          - dps_val: 12
+          - dps_val: 2048
             value: "Core temperature is to high."
             value: "Core temperature is to high."
-          - dps_val: 13
+          - dps_val: 4096
             value: "ESB"
             value: "ESB"
-          - dps_val: 14
+          - dps_val: 8192
             value: "Socket protective earth error"
             value: "Socket protective earth error"
-          - dps_val: 15
+          - dps_val: 16384
             value: "Socket leakage"
             value: "Socket leakage"
-          - dps_val: 16
+          - dps_val: 32768
             value: "Socket temperature is to high."
             value: "Socket temperature is to high."
-          - dps_val: 32
-            value: "Unknown error!"
   - entity: button
   - entity: button
     name: Clear energy
     name: Clear energy
     class: restart
     class: restart
@@ -255,7 +253,6 @@ secondary_entities:
             default: true
             default: true
   - entity: button
   - entity: button
     name: Toggle charging       # Rfid Switch
     name: Toggle charging       # Rfid Switch
-    category: config
     dps:
     dps:
       - id: 112
       - id: 112
         type: boolean
         type: boolean