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

Update ezaiot_r9lite_thermostat.yaml

Dps id 36 (valve state text represenation) is redundant with dps id 110 (valve state- boolean representation) so I removed sensor for dps id 36 and create as climate attribute and mark the attribute as hidden.
Pavel Janouskovec 1 год назад
Родитель
Сommit
4f7dd95f07
1 измененных файлов с 8 добавлено и 14 удалено
  1. 8 14
      custom_components/tuya_local/devices/ezaiot_r9lite_thermostat.yaml

+ 8 - 14
custom_components/tuya_local/devices/ezaiot_r9lite_thermostat.yaml

@@ -62,9 +62,16 @@ primary_entity:
     - id: 101
       type: integer
       name: unknown_101
+      hidden: true
+    - id: 36
+      # dps id 36 (valve state) is redundant with dps id 110
+      type: string
+      name: Valve state (text representation open/close)
+      hidden: true
     - id: 112
       type: integer
       name: unknown_112
+      hidden: true
     - id: 102
       type: integer
       name: temperature_adjust_step
@@ -86,7 +93,7 @@ primary_entity:
       type: string
       name: version
     - id: 113
-      #The dps id 113 is readonly (set not working)- I don't know why..probably not implemented on device
+      # The dps id 113 is readonly (set not working)- I don't know why..probably not implemented on device
       type: string
       name: temperature_sensor_type    
 secondary_entities:
@@ -124,19 +131,6 @@ secondary_entities:
             value: Mon-Sat+Sun
           - dps_val: '7'
             value: Daily
-  - entity: binary_sensor
-    name: Valve
-    class: opening
-    category: diagnostic
-    dps:
-      - id: 36
-        type: string
-        name: sensor
-        mapping:
-          - dps_val: open
-            value: true
-          - dps_val: close
-            value: false
   - entity: lock
     translation_key: child_lock
     category: config