Browse Source

Vevor EV charger: improve compatibility with US model

Many dps are optional, probably also for the EU model, depending on the
current settings of the device.

Issue #1757
Jason Rumney 1 year ago
parent
commit
55a0f914b6
1 changed files with 3 additions and 0 deletions
  1. 3 0
      custom_components/tuya_local/devices/vevor_ev_charger.yaml

+ 3 - 0
custom_components/tuya_local/devices/vevor_ev_charger.yaml

@@ -165,6 +165,7 @@ secondary_entities:
     dps:
     dps:
       - id: 14
       - id: 14
         type: string
         type: string
+        optional: true
         name: option
         name: option
         mapping:
         mapping:
           - dps_val: charge_now
           - dps_val: charge_now
@@ -206,6 +207,7 @@ secondary_entities:
     dps:
     dps:
       - id: 25
       - id: 25
         type: integer
         type: integer
+        optional: true
         name: sensor
         name: sensor
         unit: kWh
         unit: kWh
         mapping:
         mapping:
@@ -230,6 +232,7 @@ secondary_entities:
     dps:
     dps:
       - id: 28
       - id: 28
         type: integer
         type: integer
+        optional: true
         name: value
         name: value
         unit: h
         unit: h
         range:
         range: