فهرست منبع

Feyree 3phase: naming fixes

- Follow HA naming convention (no device prefix on entities, case)
- simplify some names
- remove some names adequately covered by their class
Jason Rumney 1 سال پیش
والد
کامیت
262e744017
1فایلهای تغییر یافته به همراه16 افزوده شده و 19 حذف شده
  1. 16 19
      custom_components/tuya_local/devices/feyree_3phase_ev_charger.yaml

+ 16 - 19
custom_components/tuya_local/devices/feyree_3phase_ev_charger.yaml

@@ -1,11 +1,11 @@
 name: EV charger
 name: EV charger
 products:
 products:
   - id: j6bzjwhiv2cljjcy
   - id: j6bzjwhiv2cljjcy
-    name: Feyree 32A 85-264V 3 phase EV charger
+    name: Feyree 32A 85-264V 3 phase
 primary_entity:
 primary_entity:
   entity: sensor
   entity: sensor
   class: enum
   class: enum
-  name: EV Wallbox Status
+  name:  Status
   icon: "mdi:ev-station"
   icon: "mdi:ev-station"
   dps:
   dps:
     - id: 101
     - id: 101
@@ -88,7 +88,7 @@ primary_entity:
       name: online_state
       name: online_state
 secondary_entities:
 secondary_entities:
   - entity: sensor
   - entity: sensor
-    name: EV Wallbox Alarm event
+    name:  Alarm event
     icon: 'mdi:alert-outline'
     icon: 'mdi:alert-outline'
     class: enum
     class: enum
     dps:
     dps:
@@ -131,7 +131,7 @@ secondary_entities:
           - dps_val: 32768
           - dps_val: 32768
             value: "Socket temperature is to high."
             value: "Socket temperature is to high."
   - entity: button
   - entity: button
-    name: EV Wallbox Clear energy
+    name:  Clear energy
     class: restart
     class: restart
     category: config
     category: config
     dps:
     dps:
@@ -140,7 +140,7 @@ secondary_entities:
         name: button
         name: button
         optional: true
         optional: true
   - entity: number
   - entity: number
-    name: EV Wallbox Set charging current
+    name:  Charging current
     category: config
     category: config
     icon: "mdi:ev-plug-type2"
     icon: "mdi:ev-plug-type2"
     dps:
     dps:
@@ -175,7 +175,7 @@ secondary_entities:
           - dps_val: Max32A
           - dps_val: Max32A
             value: Max32A
             value: Max32A
   - entity: number
   - entity: number
-    name: EV Wallbox Set Delay Time Hours
+    name:  Delay
     category: config
     category: config
     icon: "mdi:car-clock"
     icon: "mdi:car-clock"
     dps:
     dps:
@@ -187,7 +187,6 @@ secondary_entities:
           min: 0
           min: 0
           max: 15
           max: 15
   - entity: sensor
   - entity: sensor
-    name: EV Wallbox Charging Session Delivered Energy
     class: energy
     class: energy
     dps:
     dps:
       - id: 112
       - id: 112
@@ -198,7 +197,7 @@ secondary_entities:
         mapping:
         mapping:
           - scale: 10
           - scale: 10
   - entity: sensor
   - entity: sensor
-    name: EV Wallbox Phase 1 Voltage
+    name:  Phase 1 voltage
     class: voltage
     class: voltage
     category: diagnostic
     category: diagnostic
     dps:
     dps:
@@ -210,7 +209,7 @@ secondary_entities:
         mapping:
         mapping:
           - scale: 10
           - scale: 10
   - entity: sensor
   - entity: sensor
-    name: EV Wallbox Phase 2 Voltage
+    name:  Phase 2 voltage
     class: voltage
     class: voltage
     category: diagnostic
     category: diagnostic
     dps:
     dps:
@@ -222,7 +221,7 @@ secondary_entities:
         mapping:
         mapping:
           - scale: 10
           - scale: 10
   - entity: sensor
   - entity: sensor
-    name: EV Wallbox Phase 3 Voltage
+    name:  Phase 3 voltage
     class: voltage
     class: voltage
     category: diagnostic
     category: diagnostic
     dps:
     dps:
@@ -234,7 +233,7 @@ secondary_entities:
         mapping:
         mapping:
           - scale: 10
           - scale: 10
   - entity: sensor
   - entity: sensor
-    name: EV Wallbox Phase 1 Current
+    name:  Phase 1 current
     class: current
     class: current
     category: diagnostic
     category: diagnostic
     dps:
     dps:
@@ -246,7 +245,7 @@ secondary_entities:
         mapping:
         mapping:
           - scale: 10
           - scale: 10
   - entity: sensor
   - entity: sensor
-    name: EV Wallbox Phase 2 Current
+    name:  Phase 2 current
     class: current
     class: current
     category: diagnostic
     category: diagnostic
     dps:
     dps:
@@ -258,7 +257,7 @@ secondary_entities:
         mapping:
         mapping:
           - scale: 10
           - scale: 10
   - entity: sensor
   - entity: sensor
-    name: EV Wallbox Phase 3 Current
+    name:  Phase 3 current
     class: current
     class: current
     category: diagnostic
     category: diagnostic
     dps:
     dps:
@@ -270,7 +269,6 @@ secondary_entities:
         mapping:
         mapping:
           - scale: 10
           - scale: 10
   - entity: sensor
   - entity: sensor
-    name: EV Wallbox Charging Power
     class: power
     class: power
     dps:
     dps:
       - id: 109
       - id: 109
@@ -281,7 +279,6 @@ secondary_entities:
         mapping:
         mapping:
           - scale: 10
           - scale: 10
   - entity: sensor
   - entity: sensor
-    name: EV Wallbox Temperature
     class: temperature
     class: temperature
     category: diagnostic
     category: diagnostic
     dps:
     dps:
@@ -293,7 +290,7 @@ secondary_entities:
         mapping:
         mapping:
           - scale: 10
           - scale: 10
   - entity: number
   - entity: number
-    name: EV Wallbox Set Charging Duration
+    name:  Charge duration
     category: config
     category: config
     icon: "mdi:car-clock"
     icon: "mdi:car-clock"
     dps:
     dps:
@@ -305,7 +302,7 @@ secondary_entities:
           min: 0
           min: 0
           max: 15
           max: 15
   - entity: select
   - entity: select
-    name: EV Wallbox Set StartStop
+    name:  Command
     icon: "mdi:ev-plug-type2"
     icon: "mdi:ev-plug-type2"
     category: config
     category: config
     dps:
     dps:
@@ -318,9 +315,9 @@ secondary_entities:
           - dps_val: "CloseCharging"
           - dps_val: "CloseCharging"
             value: Stop charging
             value: Stop charging
           - dps_val: "WaitOperation"
           - dps_val: "WaitOperation"
-            value: Waiting for command
+            value: Idle
   - entity: sensor
   - entity: sensor
-    name: EV Wallbox Charging session duration
+    name:  Charging session duration
     icon: "mdi:car-clock"
     icon: "mdi:car-clock"
     dps:
     dps:
       - id: 120
       - id: 120