Просмотр исходного кода

Powerworld PW59410: extra sensors are on 101 not 118

- fix class/name confusion for last 3 sensors.

Issue #1530
Jason Rumney 1 год назад
Родитель
Сommit
d91190ecee

+ 21 - 21
custom_components/tuya_local/devices/powerworld_pw58410_waterheater.yaml

@@ -41,7 +41,7 @@ primary_entity:
       range:
         min: 0
         max: 99
-    - id: 118
+    - id: 101
       type: base64
       optional: true
       name: current_temperature
@@ -187,7 +187,7 @@ secondary_entities:
     class: temperature
     category: diagnostic
     dps:
-      - id: 118
+      - id: 101
         type: base64
         optional: true
         name: sensor
@@ -208,7 +208,7 @@ secondary_entities:
     class: temperature
     category: diagnostic
     dps:
-      - id: 118
+      - id: 101
         type: base64
         optional: true
         name: sensor
@@ -229,7 +229,7 @@ secondary_entities:
     class: temperature
     category: diagnostic
     dps:
-      - id: 118
+      - id: 101
         type: base64
         optional: true
         name: sensor
@@ -250,7 +250,7 @@ secondary_entities:
     class: temperature
     category: diagnostic
     dps:
-      - id: 118
+      - id: 101
         type: base64
         optional: true
         name: sensor
@@ -271,7 +271,7 @@ secondary_entities:
     class: temperature
     category: diagnostic
     dps:
-      - id: 118
+      - id: 101
         type: base64
         optional: true
         name: sensor
@@ -292,7 +292,7 @@ secondary_entities:
     class: temperature
     category: diagnostic
     dps:
-      - id: 118
+      - id: 101
         type: base64
         optional: true
         name: sensor
@@ -313,7 +313,7 @@ secondary_entities:
     class: temperature
     category: diagnostic
     dps:
-      - id: 118
+      - id: 101
         type: base64
         optional: true
         name: sensor
@@ -333,7 +333,7 @@ secondary_entities:
     name: Main EEV opening
     category: diagnostic
     dps:
-      - id: 118
+      - id: 101
         type: base64
         optional: true
         name: sensor
@@ -346,7 +346,7 @@ secondary_entities:
     name: Secondary EEV opening
     category: diagnostic
     dps:
-      - id: 118
+      - id: 101
         type: base64
         optional: true
         name: sensor
@@ -360,7 +360,7 @@ secondary_entities:
     class: current
     category: diagnostic
     dps:
-      - id: 118
+      - id: 101
         type: base64
         optional: true
         name: sensor
@@ -375,7 +375,7 @@ secondary_entities:
     class: temperature
     category: diagnostic
     dps:
-      - id: 118
+      - id: 101
         type: base64
         optional: true
         name: sensor
@@ -396,7 +396,7 @@ secondary_entities:
     class: voltage
     category: diagnostic
     dps:
-      - id: 118
+      - id: 101
         type: base64
         optional: true
         name: sensor
@@ -411,7 +411,7 @@ secondary_entities:
     class: frequency
     category: diagnostic
     dps:
-      - id: 118
+      - id: 101
         type: base64
         optional: true
         name: sensor
@@ -425,7 +425,7 @@ secondary_entities:
     name: Fan 1 speed
     category: diagnostic
     dps:
-      - id: 118
+      - id: 101
         type: base64
         optional: true
         name: sensor
@@ -439,7 +439,7 @@ secondary_entities:
     name: Fan 2 speed
     category: diagnostic
     dps:
-      - id: 118
+      - id: 101
         type: base64
         optional: true
         name: sensor
@@ -453,7 +453,7 @@ secondary_entities:
     class: pressure
     category: diagnostic
     dps:
-      - id: 118
+      - id: 101
         type: base64
         optional: true
         name: sensor
@@ -468,7 +468,7 @@ secondary_entities:
     class: temperature
     category: diagnostic
     dps:
-      - id: 118
+      - id: 101
         type: base64
         optional: true
         name: sensor
@@ -556,7 +556,7 @@ secondary_entities:
                    000000000000000000000000000000000000000000000000\
                    0000000000000000"
   - entity: sensor
-    class: Coefficient of performance
+    name: Coefficient of performance
     category: diagnostic
     dps:
       - id: 140
@@ -569,7 +569,7 @@ secondary_entities:
                    000000000000000000000000000000000000000000000000\
                    0000000000000000"
   - entity: number
-    class: Pump speed
+    name: Pump speed
     category: config
     dps:
       - id: 140
@@ -585,7 +585,7 @@ secondary_entities:
           min: 0
           max: 100
   - entity: sensor
-    class: Pump speed
+    name: Pump speed
     category: diagnostic
     dps:
       - id: 140