Jelajahi Sumber

after 1st round of review

PipoCanaja 1 tahun lalu
induk
melakukan
6a84ea1f56

+ 4 - 9
custom_components/tuya_local/devices/eeese_emil_dehumidifier.yaml

@@ -1,11 +1,9 @@
-name: Eeese Emil Dehumidifier
+name: Dehumidifier
 products:
 products:
-  - id: DYD-S12A431 除湿机
-    name: Eeese Emil Dehumidifier
+    name: Eeese Emil DYD-S12A431
 primary_entity:
 primary_entity:
   entity: humidifier
   entity: humidifier
   class: dehumidifier
   class: dehumidifier
-  name: Panel
   dps:
   dps:
     - id: 1
     - id: 1
       name: switch
       name: switch
@@ -32,8 +30,7 @@ primary_entity:
         - dps_val: manual
         - dps_val: manual
           value: normal
           value: normal
         - dps_val: laundry
         - dps_val: laundry
-          value: boost
-          icon: "mdi:tshirt-crew-outline"
+          value: laundry
     - id: 16
     - id: 16
       type: integer
       type: integer
       name: current_humidity
       name: current_humidity
@@ -55,7 +52,6 @@ secondary_entities:
         name: lock
         name: lock
   - entity: fan
   - entity: fan
     translation_key: fan
     translation_key: fan
-    name: Fan
     category: config
     category: config
     dps:
     dps:
       - id: 1
       - id: 1
@@ -80,13 +76,12 @@ secondary_entities:
   - entity: sensor
   - entity: sensor
     class: duration
     class: duration
     category: diagnostic
     category: diagnostic
-    name: Remaining duration
+    translation_key: time_remaining
     dps:
     dps:
       - id: 18
       - id: 18
         type: integer
         type: integer
         name: sensor
         name: sensor
         unit: "s"
         unit: "s"
-        class: measurement
   - entity: binary_sensor
   - entity: binary_sensor
     translation_key: tank_full
     translation_key: tank_full
     category: diagnostic
     category: diagnostic