Skip to content

Commit

Permalink
Add Smart Humidifier 2 EU (deerma.humidifier.jsq2w) support (#352)
Browse files Browse the repository at this point in the history
  • Loading branch information
kristofgyuracz authored Mar 4, 2024
1 parent f810f2a commit f22c2c0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ This custom component is more or less the beta version of the [official componen
| Smartmi Evaporative Humidifier (Korea Version) | zhimi.humidifier.cb2 | CJXJSQ02ZM | 8W, 240x240x363mm |
| Mijia Smart Sterilization Humidifier S | deerma.humidifier.mjjsq | MJJSQ03DY | 4.5L, <=39dB, 450mL/h, 40W |
| Mijia Intelligent Sterilization Humidifier (EU version?) | deerma.humidifier.jsq | ZNJSQ01DEM | 4.5L, <=38dB, 300mL/h, 24W |
| Mijia Smart Humidifier 2 (EU version) | deerma.humidifier.jsq2w | MJJSQ05DY | 4.5L, <=32dB, 300mL/h, 28 W |
| Mijia Humidifier 4L | deerma.humidifier.jsq3 | MJJSQ04DY | 4L, <=38dB, 300mL/h, 25W |
| Mijia Intelligent Sterilization Humidifier (EU version?) | deerma.humidifier.jsq5 | ZNJSQ01DEM | 4.5L, <=38dB, 300mL/h, 24W |
| Mijia Smart Sterilization Humidifier S (EU version?) | deerma.humidifier.jsqs | MJJSQ03DY | 4.5L, <=39dB, 450mL/h, 40W |
Expand Down
3 changes: 3 additions & 0 deletions custom_components/xiaomi_miio_airpurifier/fan.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@
MODEL_AIRHUMIDIFIER_MJJSQ = "deerma.humidifier.mjjsq"
MODEL_AIRHUMIDIFIER_JSQ = "deerma.humidifier.jsq"
MODEL_AIRHUMIDIFIER_JSQ1 = "deerma.humidifier.jsq1"
MODEL_AIRHUMIDIFIER_JSQ2W = "deerma.humidifier.jsq2w"
MODEL_AIRHUMIDIFIER_JSQ3 = "deerma.humidifier.jsq3"
MODEL_AIRHUMIDIFIER_JSQ5 = "deerma.humidifier.jsq5"
MODEL_AIRHUMIDIFIER_JSQS = "deerma.humidifier.jsqs"
Expand Down Expand Up @@ -195,6 +196,7 @@
MODEL_AIRHUMIDIFIER_MJJSQ,
MODEL_AIRHUMIDIFIER_JSQ,
MODEL_AIRHUMIDIFIER_JSQ1,
MODEL_AIRHUMIDIFIER_JSQ2W,
MODEL_AIRHUMIDIFIER_JSQ3,
MODEL_AIRHUMIDIFIER_JSQ5,
MODEL_AIRHUMIDIFIER_JSQS,
Expand Down Expand Up @@ -1148,6 +1150,7 @@ async def async_setup_platform(hass, config, async_add_entities, discovery_info=
air_humidifier = AirHumidifierMjjsq(host, token, model=model)
device = XiaomiAirHumidifierMjjsq(name, air_humidifier, model, unique_id)
elif model in [
MODEL_AIRHUMIDIFIER_JSQ2W,
MODEL_AIRHUMIDIFIER_JSQ3,
MODEL_AIRHUMIDIFIER_JSQ5,
MODEL_AIRHUMIDIFIER_JSQS,
Expand Down

0 comments on commit f22c2c0

Please sign in to comment.