4
0
Эх сурвалжийг харах

Arlec ceiling fan remote: merge in identical sulion device

Missed when accepting PR that the submission was identical.

- suspect the product_id is incorrect (maybe model_id from cloud
  data), but it doesn't really matter.

Both devices were detected as 100% match for PR #2484, except the
number of speed steps is different, so that one does need a new
config.
Jason Rumney 1 жил өмнө
parent
commit
269b5ebaca

+ 3 - 0
custom_components/tuya_local/devices/arlec_ceiling_fan_remote.yaml

@@ -1,5 +1,8 @@
 name: Ceiling fan remote
+legacy_type: sulion_ceiling_fan_remote
 products:
+  - id: 0000008sff
+    name: Sulion Cadillac Fan Controller
   - id: b8bofb3ruee9zwxc
     name: Arlec AC Fan Controller CFR225HA
 primary_entity:

+ 0 - 22
custom_components/tuya_local/devices/sulion_ceiling_fan_remote.yaml

@@ -1,22 +0,0 @@
-name: Ceiling fan remote
-products:
-  - id: 0000008sff
-    name: Sulion Cadillac Fan Controller
-primary_entity:
-  entity: fan
-  dps:
-    - id: 1
-      type: boolean
-      name: switch
-    - id: 3
-      type: integer
-      name: speed
-      range:
-        min: 1
-        max: 3
-secondary_entities:
-  - entity: light
-    dps:
-      - id: 15
-        type: boolean
-        name: switch