Ver Fonte

feat (calibo_smart_ceiling_fan): add Faro Barcelona Punt Tub

PR #4135
Jason Rumney há 2 meses atrás
pai
commit
dd98d22c48

+ 1 - 1
ACKNOWLEDGEMENTS.md

@@ -1135,7 +1135,7 @@ Further device support has been made with the assistance of users. Please consid
 - [rickbergmans](https://github.com/rickbergmans) for contributing support for Pilot Wire RP5 bath thermostat.
 - [baracici](https://github.com/baracici) for assisting with support for ElectriQ CD20PRO-LE-V4 dehumidifier.
 - [christianglodt](https://github.com/christianglodt) for contributing support for Plikc Ario WiFi air vent.
-- [george-oniceag](https://github.com/george-oniceag) for contributing support for AlecoAir PU55 Humino humidifier.
+- [george-oniceag](https://github.com/george-oniceag) for contributing support for AlecoAir PU55 Humino humidifier, Faro Barcelona Punt Tub fan (merged to calibo).
 - [yurgh](https://github.com/yurgh) for contributing improvements to Eeese Carl dehumidifier.
 - [fredppm](https://github.com/fredppm) for contributing support for Newpet pet feeder.
 - [politician](https://github.com/politician) for assisting with support for Kerui 120dB siren alarm.

+ 10 - 0
custom_components/tuya_local/devices/calibo_smart_ceiling_fan.yaml

@@ -3,6 +3,10 @@ products:
   - id: 78m2fjtcj26yab5a
     manufacturer: Calibo
     model: Cloudfan DC
+  - id: bczathc5udcd58ec
+    manufacturer: Faro Barcelona
+    model: Punt Tub
+    model_id: "33829WT-1TW"
 entities:
   - entity: fan
     translation_only_key: fan_with_presets
@@ -23,12 +27,18 @@ entities:
       - id: 3
         name: speed
         type: integer
+        optional: true
         range:
           min: 1
           max: 6
       - id: 8
         name: direction
         type: string
+        optional: true
+        mapping:
+          - dps_val: null
+            value: forward
+            hidden: true
   - entity: light
     dps:
       - id: 15