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

Jianhong ET-72W: rename calibration sensors.

Some were previously unknown, others have a more specific name.

Comments on PR #181
Jason Rumney 1 год назад
Родитель
Сommit
e090f870bd
1 измененных файлов с 4 добавлено и 9 удалено
  1. 4 9
      custom_components/tuya_local/devices/jiahong_et72w_thermostat.yaml

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

@@ -83,22 +83,17 @@ entities:
         name: unknown_109
         name: unknown_109
       - id: 112
       - id: 112
         type: integer
         type: integer
-        name: unknown_112
+        name: floor_temp_calibration
       - id: 113
       - id: 113
         type: integer
         type: integer
-        name: unknown_113
+        name: room_temp_calibration
   - entity: lock
   - entity: lock
-    name: Screen lock
+    translation_key: child_lock
     category: config
     category: config
     dps:
     dps:
       - id: 108
       - id: 108
         type: boolean
         type: boolean
         name: lock
         name: lock
-        mapping:
-          - dps_val: true
-            icon: "mdi:hand-back-right-off"
-          - dps_val: false
-            icon: "mdi:hand-back-right"
   - entity: sensor
   - entity: sensor
     name: Room temperature
     name: Room temperature
     class: temperature
     class: temperature
@@ -146,7 +141,7 @@ entities:
         unit: min
         unit: min
       - id: 116
       - id: 116
         type: integer
         type: integer
-        name: calibration
+        name: load_w
   - entity: select
   - entity: select
     category: config
     category: config
     translation_key: temperature_unit
     translation_key: temperature_unit