Prechádzať zdrojové kódy

fix tzst_device_config.py

julian 10 mesiacov pred
rodič
commit
2a064adbb8

+ 18 - 0
custom_components/tuya_local/devices/feyree_ev_portable_charger.yaml

@@ -9,6 +9,24 @@ entities:
     translation_key: status
     translation_key: status
     icon: "mdi:ev-station"
     icon: "mdi:ev-station"
     dps:
     dps:
+      - id: 101
+        type: string
+        name: sensor
+        mapping:
+          - dps_val: no_connect
+            value: available
+          - dps_val: connect
+            value: plugged_in
+          - dps_val: charing
+            value: charging
+          - dps_val: wait_rfid
+            value: waiting_for_authorization
+          - dps_val: finish
+            value: charged
+          - dps_val: wait_charing
+            value: waiting
+          - dps_val: error
+            value: fault
       - id: 3
       - id: 3
         type: string
         type: string
         optional: true
         optional: true