Prechádzať zdrojové kódy

vevor_ev_charger: Add SS_EU15O_M2 support

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Alexandre Belloni 1 rok pred
rodič
commit
b8fd2813ee

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

@@ -4,6 +4,8 @@ products:
     name: Vevor SS EU Mode2 7kW
   - id: w7lvyyxyevpwf20e
     name: Vevor SS US 7kW
+  - id: ypdfdnwauasb8rje
+    name: Vevor SS EU Mode2 3.7kW
 primary_entity:
   entity: sensor
   name: Status
@@ -116,6 +118,7 @@ secondary_entities:
       - id: 9
         type: integer
         name: sensor
+        optional: true
         unit: kW
         class: measurement
         mapping:
@@ -185,6 +188,7 @@ secondary_entities:
     dps:
       - id: 16
         type: boolean
+        optional: true
         name: button
   - entity: switch
     icon: "mdi:power"