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

Powerworld PW58410: fix unit of temperature sensors

Jason Rumney 1 год назад
Родитель
Сommit
7b843bd2f0
1 измененных файлов с 9 добавлено и 9 удалено
  1. 9 9
      custom_components/tuya_local/devices/powerworld_pw58410_waterheater.yaml

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

@@ -198,7 +198,7 @@ secondary_entities:
                    0000000000000000"
                    0000000000000000"
       - id: 6
       - id: 6
         type: string
         type: string
-        name: temperature_unit
+        name: unit
         mapping:
         mapping:
           - dps_val: f
           - dps_val: f
             value: F
             value: F
@@ -219,7 +219,7 @@ secondary_entities:
                    0000000000000000"
                    0000000000000000"
       - id: 6
       - id: 6
         type: string
         type: string
-        name: temperature_unit
+        name: unit
         mapping:
         mapping:
           - dps_val: f
           - dps_val: f
             value: F
             value: F
@@ -240,7 +240,7 @@ secondary_entities:
                    0000000000000000"
                    0000000000000000"
       - id: 6
       - id: 6
         type: string
         type: string
-        name: temperature_unit
+        name: unit
         mapping:
         mapping:
           - dps_val: f
           - dps_val: f
             value: F
             value: F
@@ -261,7 +261,7 @@ secondary_entities:
                    0000000000000000"
                    0000000000000000"
       - id: 6
       - id: 6
         type: string
         type: string
-        name: temperature_unit
+        name: unit
         mapping:
         mapping:
           - dps_val: f
           - dps_val: f
             value: F
             value: F
@@ -282,7 +282,7 @@ secondary_entities:
                    0000000000000000"
                    0000000000000000"
       - id: 6
       - id: 6
         type: string
         type: string
-        name: temperature_unit
+        name: unit
         mapping:
         mapping:
           - dps_val: f
           - dps_val: f
             value: F
             value: F
@@ -303,7 +303,7 @@ secondary_entities:
                    0000000000000000"
                    0000000000000000"
       - id: 6
       - id: 6
         type: string
         type: string
-        name: temperature_unit
+        name: unit
         mapping:
         mapping:
           - dps_val: f
           - dps_val: f
             value: F
             value: F
@@ -324,7 +324,7 @@ secondary_entities:
                    0000000000000000"
                    0000000000000000"
       - id: 6
       - id: 6
         type: string
         type: string
-        name: temperature_unit
+        name: unit
         mapping:
         mapping:
           - dps_val: f
           - dps_val: f
             value: F
             value: F
@@ -386,7 +386,7 @@ secondary_entities:
                    0000000000000000"
                    0000000000000000"
       - id: 6
       - id: 6
         type: string
         type: string
-        name: temperature_unit
+        name: unit
         mapping:
         mapping:
           - dps_val: f
           - dps_val: f
             value: F
             value: F
@@ -479,7 +479,7 @@ secondary_entities:
                    0000000000000000"
                    0000000000000000"
       - id: 6
       - id: 6
         type: string
         type: string
-        name: temperature_unit
+        name: unit
         mapping:
         mapping:
           - dps_val: f
           - dps_val: f
             value: F
             value: F