Browse Source

smartplugv2_energyv3: add overcharge protection

Issue #392
Jason Rumney 3 years ago
parent
commit
ba0994db23
1 changed files with 8 additions and 0 deletions
  1. 8 0
      custom_components/tuya_local/devices/smartplugv2_energyv3.yaml

+ 8 - 0
custom_components/tuya_local/devices/smartplugv2_energyv3.yaml

@@ -153,3 +153,11 @@ secondary_entities:
             value: "Off"
           - dps_val: "on"
             value: "On"
+  - entity: switch
+    name: Overcharge protection
+    category: config
+    dps:
+      - id: 39
+        type: boolean
+        name: switch
+        optional: true