Преглед изворни кода

fix(feyree_ev_portable_charger): label current b&c as current

Was incorrectly labelled as voltage, which caused duplicates.
Jason Rumney пре 10 месеци
родитељ
комит
3337264fda
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      custom_components/tuya_local/devices/feyree_ev_portable_charger.yaml

+ 2 - 2
custom_components/tuya_local/devices/feyree_ev_portable_charger.yaml

@@ -398,7 +398,7 @@ entities:
           - scale: 10
   - entity: sensor
     class: current
-    translation_key: voltage_x
+    translation_key: current_x
     translation_placeholders:
       x: B
     hidden: unavailable
@@ -420,7 +420,7 @@ entities:
           - value: true
   - entity: sensor
     class: current
-    translation_key: voltage_x
+    translation_key: current_x
     translation_placeholders:
       x: C
     hidden: unavailable