Explorar el Código

Vevor EV charger: changes to match 3.7kW model

- hide extra power sensors by default
- rename "Delay time" to just "Delay", and add duration class

PR #3072
Jason Rumney hace 9 meses
padre
commit
900f6ddea5
Se han modificado 1 ficheros con 4 adiciones y 2 borrados
  1. 4 2
      custom_components/tuya_local/devices/vevor_ev_charger.yaml

+ 4 - 2
custom_components/tuya_local/devices/vevor_ev_charger.yaml

@@ -65,6 +65,7 @@ entities:
     name: Single phase power
     class: power
     category: diagnostic
+    hidden: true
     dps:
       - id: 5
         type: integer
@@ -78,6 +79,7 @@ entities:
     name: Phase A power
     class: power
     category: diagnostic
+    hidden: true
     dps:
       - id: 6
         type: base64
@@ -234,9 +236,9 @@ entities:
           - value: false
             hidden: true
   - entity: number
-    name: Delay time
+    name: Delay
+    class: duration
     category: config
-    icon: "mdi:clock"
     dps:
       - id: 28
         type: integer