Преглед на файлове

Update ezaiot_r9lite_thermostat.yaml

temperature_sensor_type and version as climate attribute instead of sensor
Pavel Janouskovec преди 1 година
родител
ревизия
c630365f0e
променени са 1 файла, в които са добавени 7 реда и са изтрити 15 реда
  1. 7 15
      custom_components/tuya_local/devices/ezaiot_r9lite_thermostat.yaml

+ 7 - 15
custom_components/tuya_local/devices/ezaiot_r9lite_thermostat.yaml

@@ -82,6 +82,13 @@ primary_entity:
     - id: 108
       type: integer
       name: temperature_calibration_step
+    - id: 111
+      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
+      type: string
+      name: temperature_sensor_type    
 secondary_entities:
   - entity: switch
     translation_key: anti_frost
@@ -195,14 +202,6 @@ secondary_entities:
           max: 99
         mapping:
           - scale: 10            
-  - entity: sensor
-    #The dps id 113 is readonly (set not working)- I don't know why..probably not implemented on device
-    name: Temperature sensor type
-    category: diagnostic
-    dps:
-      - id: 113
-        type: string
-        name: sensor
   - entity: sensor
     name: External temperature
     class: temperature
@@ -214,10 +213,3 @@ secondary_entities:
         unit: C
         mapping:
           - scale: 10
-  - entity: sensor
-    name: Version
-    category: diagnostic
-    dps:
-      - id: 111
-        name: sensor
-        type: string