فهرست منبع

Fix / remove names and add fault code sensor

Jonathan Peters 2 سال پیش
والد
کامیت
a1d88b43fe
1فایلهای تغییر یافته به همراه9 افزوده شده و 9 حذف شده
  1. 9 9
      custom_components/tuya_local/devices/djive_arc_fan.yaml

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

@@ -1,10 +1,9 @@
-name: djive Flowmate ARC Humidifier
+name: Humidifying fan
 products:
   - id: bf5fd02f13d3f6d92exy2t
-    name: djive ARC Humidifier
+    name: djive Flowmate ARC Humidifier
 primary_entity:
   entity: fan
-  name: Fan
   dps:
     - id: 1
       name: switch
@@ -15,11 +14,11 @@ primary_entity:
       optional: true
       mapping:
         - dps_val: close
-          value: standard
+          value: normal
         - dps_val: auto
-          value: auto
+          value: smart
         - dps_val: strong
-          value: max
+          value: strong
         - dps_val: fresh
           value: fresh
         - dps_val: sleep
@@ -35,6 +34,9 @@ primary_entity:
     - id: 5
       type: boolean
       name: oscillate
+    - id: 24
+      type: bitfield
+      name: fault_code
 secondary_entities:
   - entity: select
     category: config
@@ -68,7 +70,7 @@ secondary_entities:
             value: false
           - value: true
   - entity: switch
-    name: UV Disinfectant
+    name: UV sterilization
     icon: "mdi:asterisk"
     dps:
       - id: 102
@@ -82,7 +84,6 @@ secondary_entities:
         type: boolean
         name: switch
   - entity: sensor
-    name: Current Humidity
     class: humidity
     dps:
       - id: 106
@@ -91,7 +92,6 @@ secondary_entities:
         class: measurement
         unit: "%"
   - entity: sensor
-    name: Air Quality
     class: pm25
     dps:
       - id: 101