소스 검색

smartplugv2_energyv3: add overcharge protection

Issue #392
Jason Rumney 3 년 전
부모
커밋
ba0994db23
1개의 변경된 파일8개의 추가작업 그리고 0개의 파일을 삭제
  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