Просмотр исходного кода

Added support for HomeMate and Conbre smart fan regulators (#3236)

* Create homemate_fan_regulator.yaml

Added support for HomeMate smart fan regulators

* Create conbre_fan_regulator.yaml

Added support for Conbre smart fan regulators

* Delete custom_components/tuya_local/devices/conbre_fan_regulator.yaml

Removed the identical config

* Update and rename homemate_fan_regulator.yaml to generic_fan_regulator.yaml

Changed the config to be generic

* Update and rename generic_fan_regulator.yaml to generic_5speed_fanregulator.yaml

Include 5speed in filename in case there are others with different number of speeds.
Follow HA naming convention, and remove "generic" from name.

---------

Co-authored-by: Jason Rumney <make-all@users.noreply.github.com>
Moosa 9 месяцев назад
Родитель
Сommit
bb094ebd05

+ 13 - 0
custom_components/tuya_local/devices/generic_5speed_fanregulator.yaml

@@ -0,0 +1,13 @@
+name: Fan regulator
+entities:
+  - entity: fan
+    dps:
+      - id: 1
+        type: boolean
+        name: switch
+      - id: 3
+        type: integer
+        name: speed
+        range:
+          min: 1
+          max: 5