Explorar o código

Moes WHT009: changes from review

- naming changes
- remove duplicate sensors
Jason Rumney hai 1 ano
pai
achega
5e29446719

+ 8 - 25
custom_components/tuya_local/devices/moes_wht009_thermostat.yaml

@@ -1,9 +1,10 @@
-name: Moes thermostat WHT-009
+name: Thermostat
 products:
 products:
   - id: 14bmxdarlb4ravgd
   - id: 14bmxdarlb4ravgd
-    name: Moes thermostat WHT-009
+    name: Moes WHT-009
 primary_entity:
 primary_entity:
   entity: climate
   entity: climate
+  translation_key: thermostat
   dps:
   dps:
     - id: 1
     - id: 1
       name: hvac_mode
       name: hvac_mode
@@ -18,9 +19,9 @@ primary_entity:
       type: string
       type: string
       mapping:
       mapping:
         - dps_val: manual
         - dps_val: manual
-          value: Manual
+          value: manual
         - dps_val: auto
         - dps_val: auto
-          value: Auto
+          value: program
     - id: 16
     - id: 16
       name: temperature
       name: temperature
       type: integer
       type: integer
@@ -78,18 +79,6 @@ secondary_entities:
         mapping:
         mapping:
           - scale: 10
           - scale: 10
             step: 10
             step: 10
-  - entity: sensor
-    name: Current temperature
-    class: temperature
-    dps:
-      - id: 24
-        type: integer
-        name: sensor
-        class: measurement
-        unit: C
-        mapping:
-          - scale: 10
-            step: 5
   - entity: number
   - entity: number
     name: Minimum temperature
     name: Minimum temperature
     class: temperature
     class: temperature
@@ -119,12 +108,6 @@ secondary_entities:
         range:
         range:
           min: -9
           min: -9
           max: 9
           max: 9
-  - entity: sensor
-    name: Hvac action
-    dps:
-      - id: 36
-        type: string
-        name: sensor
   - entity: lock
   - entity: lock
     translation_key: child_lock
     translation_key: child_lock
     category: config
     category: config
@@ -174,7 +157,7 @@ secondary_entities:
           min: 1
           min: 1
           max: 5
           max: 5
   - entity: number
   - entity: number
-    name: High protection temperature setting
+    name: Overheat limit
     class: temperature
     class: temperature
     category: config
     category: config
     icon: "mdi:thermometer-chevron-up"
     icon: "mdi:thermometer-chevron-up"
@@ -191,7 +174,7 @@ secondary_entities:
           - scale: 10
           - scale: 10
             step: 10
             step: 10
   - entity: number
   - entity: number
-    name: Low protection temperature setting
+    name: Frost protection temperature
     class: temperature
     class: temperature
     category: config
     category: config
     icon: "mdi:thermometer-chevron-down"
     icon: "mdi:thermometer-chevron-down"
@@ -208,7 +191,7 @@ secondary_entities:
           - scale: 10
           - scale: 10
             step: 10
             step: 10
   - entity: number
   - entity: number
-    name: Eco mode temperature setting
+    name: Eco temperature
     class: temperature
     class: temperature
     category: config
     category: config
     icon: "mdi:leaf"
     icon: "mdi:leaf"