Forráskód Böngészése

Add Create ceiling fan with light v2 (product id 9ecs16c53uqskxw6) (#5253)

Merge v2 variant into existing create_fan_light config:
- Add product id 9ecs16c53uqskxw6 for the v2 model
- Add fan_beep switch entity (DP 66) with hidden: unavailable
  so it auto-enables on v2 devices and stays disabled on v1
Robin Eisenberg 4 hete
szülő
commit
c323420324

+ 11 - 0
custom_components/tuya_local/devices/create_fan_light.yaml

@@ -3,6 +3,8 @@ products:
   - id: p8z27dfdwc4riyp9
   - id: p8z27dfdwc4riyp9
     manufacturer: Create
     manufacturer: Create
     model: XW-FAN-215-D
     model: XW-FAN-215-D
+  - id: 9ecs16c53uqskxw6
+    manufacturer: Create
 entities:
 entities:
   - entity: fan
   - entity: fan
     dps:
     dps:
@@ -58,3 +60,12 @@ entities:
         range:
         range:
           min: 0
           min: 0
           max: 540
           max: 540
+  - entity: switch
+    translation_key: sound
+    category: config
+    hidden: unavailable
+    dps:
+      - id: 66
+        type: boolean
+        optional: true
+        name: switch