Explorar el Código

feat(devices): add support for Living Comfort LC310S twin window fan

Issue #3566
Jason Rumney hace 5 meses
padre
commit
43d42b3498

+ 1 - 0
ACKNOWLEDGEMENTS.md

@@ -1027,3 +1027,4 @@ Further device support has been made with the assistance of users. Please consid
 - [lilYozik](https://github.com/lilYozik) for assisting with support for Eberg Fyn tower fan.
 - [malkavi](https://github.com/malkavi) for contributing support for Cecotec Conga 1970 robot vacuum.
 - [LuckyG3000](https://github.com/LuckyG3000) for assisting with support for Klarstein Wonderwall 600 IR heater.
+- [Gillstrap](https://github.com/Gillstrap) for assisting with support for Living Comfort LC310S Series twin window fan.

+ 4 - 3
DEVICES.md

@@ -292,15 +292,16 @@
 - HYD WeAir Plus bladeless fan with heating function
 - Immax Neo Lite Vento ceiling fan with light
 - Kavunion C1 100 ventilation fan
+- KCvents VT501-W heat recovery ventilation
 - Klarstein Skyscaper Ice cooling fan
 - Klarstein Skytower Grand Smart cooling fan
+- Keyun MKCFE002 RGB chandelier fan
+- Kogan bladeless fans
 - Ledkia fan and light controller
 - Lexy F501 fan
+- Living Comfort LC310S twin window fan
 - Lucci Connect Wi-Fi fan remote
 - Lumary A1 ceiling fan with light
-- KCvents VT501-W heat recovery ventilation
-- Keyun MKCFE002 RGB chandelier fan
-- Kogan bladeless fans
 - Mantra ceiling fan with light
 - New Widetech WPF-16SW5 7-speed pedestal fan
 - OmniBreeze DC2313R tower fan (4-speed and 5-speed models)

+ 28 - 0
custom_components/tuya_local/devices/livingcomfort_twinwindow_fan.yaml

@@ -0,0 +1,28 @@
+name: Window fan
+products:
+  - id: tqs2qloiq4hqiuso
+    manufacturer: Living Comfort
+    model: LC310S Series
+entities:
+  - entity: fan
+    translation_key: ventilation
+    dps:
+      - id: 1
+        type: boolean
+        name: switch
+      - id: 2
+        type: string
+        name: preset_mode
+        mapping:
+          - dps_val: Cool
+            value: fresh
+          - dps_val: Exhaust
+            value: extractor
+          - dps_val: Circulate
+            value: circulate
+      - id: 3
+        type: integer
+        name: speed
+        range:
+          min: 1
+          max: 3