소스 검색

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

Was incorrectly labelled as voltage, which caused duplicates.
Jason Rumney 11 달 전
부모
커밋
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