Jelajahi Sumber

Dowell EV Charger: Revised device's entity visibility by hiding the ones that are not yet completely integrated. There is still work to do in order to understand how these entities may be used.

David Ribeiro 8 bulan lalu
induk
melakukan
0d15007bf1

+ 16 - 0
custom_components/tuya_local/devices/dowell_dchs-k7_32_7kw_ev_charger.yaml

@@ -234,6 +234,7 @@ entities:
     translation_placeholders:
     translation_placeholders:
       x: B
       x: B
     class: voltage
     class: voltage
+    hidden: true
     dps:
     dps:
       - id: 7    # phase_b
       - id: 7    # phase_b
         type: base64
         type: base64
@@ -248,6 +249,7 @@ entities:
     translation_placeholders:
     translation_placeholders:
       x: B
       x: B
     class: current
     class: current
+    hidden: true
     dps:
     dps:
       - id: 7    # phase_b
       - id: 7    # phase_b
         type: base64
         type: base64
@@ -262,6 +264,7 @@ entities:
     translation_placeholders:
     translation_placeholders:
       x: B
       x: B
     class: power
     class: power
+    hidden: true
     dps:
     dps:
       - id: 7    # phase_b
       - id: 7    # phase_b
         type: base64
         type: base64
@@ -276,6 +279,7 @@ entities:
     translation_placeholders:
     translation_placeholders:
       x: C
       x: C
     class: voltage
     class: voltage
+    hidden: true
     dps:
     dps:
       - id: 8    # phase_c
       - id: 8    # phase_c
         type: base64
         type: base64
@@ -290,6 +294,7 @@ entities:
     translation_placeholders:
     translation_placeholders:
       x: C
       x: C
     class: current
     class: current
+    hidden: true
     dps:
     dps:
       - id: 8    # phase_c
       - id: 8    # phase_c
         type: base64
         type: base64
@@ -304,6 +309,7 @@ entities:
     translation_placeholders:
     translation_placeholders:
       x: C
       x: C
     class: power
     class: power
+    hidden: true
     dps:
     dps:
       - id: 8    # phase_c
       - id: 8    # phase_c
         type: base64
         type: base64
@@ -325,6 +331,7 @@ entities:
   - entity: number
   - entity: number
     name: Remaining available power
     name: Remaining available power
     category: diagnostic
     category: diagnostic
+    hidden: true
     class: energy_storage
     class: energy_storage
     dps:
     dps:
       - id: 15    # balance_energy
       - id: 15    # balance_energy
@@ -400,6 +407,7 @@ entities:
     name: Mode
     name: Mode
     icon: "mdi:cogs"
     icon: "mdi:cogs"
     category: config
     category: config
+    hidden: true
     dps:
     dps:
       - id: 102    # mode
       - id: 102    # mode
         type: string
         type: string
@@ -418,6 +426,7 @@ entities:
     name: Minimum current
     name: Minimum current
     class: current
     class: current
     category: diagnostic
     category: diagnostic
+    hidden: true
     dps:
     dps:
       - id: 103    # current_limit
       - id: 103    # current_limit
         type: base64
         type: base64
@@ -431,6 +440,7 @@ entities:
     name: Maximum current
     name: Maximum current
     class: current
     class: current
     category: diagnostic
     category: diagnostic
+    hidden: true
     dps:
     dps:
       - id: 103    # current_limit
       - id: 103    # current_limit
         type: base64
         type: base64
@@ -465,6 +475,7 @@ entities:
   - entity: switch
   - entity: switch
     name: RF enable
     name: RF enable
     category: config
     category: config
+    hidden: true
     dps:
     dps:
       - id: 110    # rf_enable
       - id: 110    # rf_enable
         type: boolean
         type: boolean
@@ -481,6 +492,7 @@ entities:
   - entity: binary_sensor
   - entity: binary_sensor
     class: safety
     class: safety
     category: diagnostic
     category: diagnostic
+    hidden: true
     dps:
     dps:
       - id: 106    # safety_notice
       - id: 106    # safety_notice
         type: bitfield
         type: bitfield
@@ -507,6 +519,7 @@ entities:
   - entity: text
   - entity: text
     name: OCCP IP
     name: OCCP IP
     category: config
     category: config
+    hidden: true
     dps:
     dps:
       - id: 104    # occp_ip
       - id: 104    # occp_ip
         type: string
         type: string
@@ -515,6 +528,7 @@ entities:
   - entity: text
   - entity: text
     name: OCCP port
     name: OCCP port
     category: config
     category: config
+    hidden: true
     dps:
     dps:
       - id: 105    # occp_port
       - id: 105    # occp_port
         type: string
         type: string
@@ -523,6 +537,7 @@ entities:
   - entity: text
   - entity: text
     name: Password
     name: Password
     category: config
     category: config
+    hidden: true
     dps:
     dps:
       - id: 109    # password
       - id: 109    # password
         type: string
         type: string
@@ -531,6 +546,7 @@ entities:
   - entity: text
   - entity: text
     name: Car binding
     name: Car binding
     category: config
     category: config
+    hidden: true
     dps:
     dps:
       - id: 21    # car_binding
       - id: 21    # car_binding
         type: string
         type: string