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

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

Was incorrectly labelled as voltage, which caused duplicates.
Jason Rumney 11 месяцев назад
Родитель
Сommit
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
           - scale: 10
   - entity: sensor
   - entity: sensor
     class: current
     class: current
-    translation_key: voltage_x
+    translation_key: current_x
     translation_placeholders:
     translation_placeholders:
       x: B
       x: B
     hidden: unavailable
     hidden: unavailable
@@ -420,7 +420,7 @@ entities:
           - value: true
           - value: true
   - entity: sensor
   - entity: sensor
     class: current
     class: current
-    translation_key: voltage_x
+    translation_key: current_x
     translation_placeholders:
     translation_placeholders:
       x: C
       x: C
     hidden: unavailable
     hidden: unavailable