Explorar el Código

Moes WHT009: changes from review

- naming changes
- remove duplicate sensors
Jason Rumney hace 1 año
padre
commit
5e29446719
Se han modificado 1 ficheros con 8 adiciones y 25 borrados
  1. 8 25
      custom_components/tuya_local/devices/moes_wht009_thermostat.yaml

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

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