Explorar o código

Merge pull request #53 from darek-margas/main

Adding Carson portable Aircon and Arlec Grid Connect fan (no light)
Jason Rumney %!s(int64=4) %!d(string=hai) anos
pai
achega
bf517d1146
Modificáronse 1 ficheiros con 11 adicións e 6 borrados
  1. 11 6
      custom_components/tuya_local/devices/arlec_fan.yaml

+ 11 - 6
custom_components/tuya_local/devices/arlec_fan.yaml

@@ -1,24 +1,24 @@
-name: ARLEC SMART Fan
+name: ARLEC Grid Connect SMART Fan
 primary_entity:
   entity: fan
   dps:
     - id: 1
-      type: boolean
       name: switch
+      type: boolean
     - id: 3
-      type: integer
       name: speed
+      type: integer
       range:
         min: 1
         max: 6
       mapping:
         - scale: 0.06
     - id: 4
-      type: string
       name: direction
-    - id: 102
       type: string
+    - id: 102
       name: preset_mode
+      type: string
       mapping:
         - dps_val: normal
           value: normal
@@ -27,5 +27,10 @@ primary_entity:
         - dps_val: breeze
           value: breeze
     - id: 103
-      type: integer
       name: timer
+      type: string
+      mapping:
+        - dps_val: off
+        - dps_val: 2hour
+        - dps_val: 4hour
+        - dps_val: 8hour