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

Support for Wetair WAW-H1210LW Humidifier

Issue #78
Jason Rumney 4 лет назад
Родитель
Сommit
56135f074a
4 измененных файлов с 18 добавлено и 1 удалено
  1. 1 0
      ACKNOWLEDGEMENTS.md
  2. 2 1
      README.md
  3. 2 0
      custom_components/tuya_local/translations/en.json
  4. 13 0
      tests/const.py

+ 1 - 0
ACKNOWLEDGEMENTS.md

@@ -61,3 +61,4 @@ Further device support has been made with the assistance of users.  Please consi
  - [irakhlin](https://github.com/irakhlin) for contributing support for Aspen ASP200 fans.
  - [vampywiz17](https://github.com/vampywiz17) for contributing support for TMWF02 fan controllers.
  - [awaldram](https://github.com/awaldram) for confirming BHT-3000 support.
+ - [bob-tm](https://github.com/bob-tm) for contributing support from Wetair WAW-H1210LW humidifiers.

+ 2 - 1
README.md

@@ -102,7 +102,8 @@ the device will not work despite being listed below.
 - Kogan SmarterHome 7L Desiccant dehumidifier
 
 ### Humidifiers
-- Eanons QT-JS2014 Purifying humidifer
+- Eanons QT-JS2014 Purifying humidifier
+- Wetair WAW-H1210LW humidifier
 
 ### SmartPlugs/Wall sockets
 - Kogan Single Smartplug with Energy Monitoring

+ 2 - 0
custom_components/tuya_local/translations/en.json

@@ -92,6 +92,7 @@
 		    "sensor_exhaust_gas_temperature": "Include exhaust gas temperature as a sensor entity",
 		    "sensor_outlet_water_temperature": "Include outlet water temperature as a sensor entity",
 		    "sensor_return_gas_temperature": "Include return gas temperature as a sensor entity",
+		    "sensor_water_level": "Include water level as a sensor entity",
 		    "switch_adaptive": "Include adaptive as a switch entity",
 		    "switch_air_clean": "Include air clean as a switch entity",
 		    "switch_anti_frost": "Include anti-frost as a switch entity",
@@ -192,6 +193,7 @@
 		    "sensor_exhaust_gas_temperature": "Include exhaust gas temperature as a sensor entity",
 		    "sensor_outlet_water_temperature": "Include outlet water temperature as a sensor entity",
 		    "sensor_return_gas_temperature": "Include return gas temperature as a sensor entity",
+		    "sensor_water_level": "Include water level as a sensor entity",
 		    "switch_adaptive": "Include adaptive as a switch entity",
 		    "switch_air_clean": "Include air clean as a switch entity",
 		    "switch_anti_frost": "Include anti-frost as a switch entity",

+ 13 - 0
tests/const.py

@@ -463,6 +463,19 @@ WETAIR_WCH750_HEATER_PAYLOAD = {
     "101": "level1",
 }
 
+WETAIR_WAWH1210_HUMIDIFIER_PAYLOAD = {
+    "1": True,
+    "5": True,
+    "8": True,
+    "13": 50,
+    "14": 57,
+    "22": 0,
+    "24": "AUTO",
+    "25": True,
+    "29": False,
+    "101": "Have_water",
+}
+
 SASWELL_T29UTK_THERMOSTAT_PAYLOAD = {
     "1": True,
     "2": 240,