Просмотр исходного кода

fix (atorch_s1bw_smartplug): add missing lvp warning

Issue #4139
Jason Rumney 2 месяцев назад
Родитель
Сommit
08ecb5073a
1 измененных файлов с 5 добавлено и 3 удалено
  1. 5 3
      custom_components/tuya_local/devices/atorch_s1bw_smartplug.yaml

+ 5 - 3
custom_components/tuya_local/devices/atorch_s1bw_smartplug.yaml

@@ -441,12 +441,14 @@ entities:
         mapping:
           - dps_val: "off"
             value: "Off"
+          - dps_val: lvp
+            value: Under voltage protection
           - dps_val: ovp
-            value: Overvoltage protection
+            value: Over voltage protection
           - dps_val: ocp
-            value: Overcurrent protection
+            value: Over current protection
           - dps_val: opp
-            value: Overpower protection
+            value: Over power protection
           - dps_val: outage_a
             value: Smart power off A
           - dps_val: outage_b