Skip to content

Commit c07fd11

Browse files
jbouwhbieniu
andauthored
Fix Xiaomi-miio humidifiers - correct modes and document attributes (home-assistant#18867)
Co-authored-by: Maciej Bieniek <bieniu@users.noreply.github.com>
1 parent 7e36690 commit c07fd11

File tree

1 file changed

+66
-14
lines changed

1 file changed

+66
-14
lines changed

source/_integrations/xiaomi_miio.markdown

Lines changed: 66 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -416,44 +416,83 @@ This model uses newer MiOT communication protocol.
416416
### Air Humidifier (zhimi.humidifier.v1)
417417

418418
- On, Off
419-
- Operation modes (silent, medium, high, strong)
419+
- Operation modes (Silent, Medium, High, Strong)
420420
- Buzzer (on, off)
421421
- Child lock (on, off)
422422
- LED (on, off), LED brightness (bright, dim, off)
423423
- Target humidity (30, 40, 50, 60, 70, 80)
424+
- Attributes (humidifier platform)
425+
426+
Attribute | Description
427+
--- | ---
428+
`humidity` | The current `target_humidity`
429+
`max_humidity` | The maximum settable `target_humidity`
430+
`min_humidity` | The minimum settable `target_humidity`
431+
`available_modes` | A list with the operation modes available
432+
`mode` | the current operation mode selected
433+
424434
- Sensor entities
425-
- `humidity`
426-
- `temperature`
435+
436+
Sensor | Description
437+
--- | ---
438+
`humidity` | The current `humidity` measured
439+
`temperature` | The current `temperature` measured
427440

428441
### Air Humidifier CA (zhimi.humidifier.ca1)
429442

430443
- On, Off
431-
- Operation modes (silent, medium, high, auto)
444+
- Operation modes (Silent, Medium, High, Auto)
432445
- Buzzer (on, off)
433446
- Child lock (on, off)
434447
- LED brightness (bright, dim, off)
435448
- Target humidity (30, 40, 50, 60, 70, 80)
436449
- Dry mode (on, off)
450+
- Attributes (humidifier platform)
451+
452+
Attribute | Description
453+
--- | ---
454+
`humidity` | The current `target_humidity`
455+
`max_humidity` | The maximum settable `target_humidity`
456+
`min_humidity` | The minimum settable `target_humidity`
457+
`available_modes` | A list with the operation modes available
458+
`mode` | the current operation mode selected
459+
437460
- Sensor entities
438-
- `humidity`
439-
- `temperature`
461+
462+
Sensor | Description
463+
--- | ---
464+
`humidity` | The current `humidity` measured
465+
`temperature` | The current `temperature` measured
440466

441467
### Air Humidifier CA (zhimi.humidifier.ca4)
442468

443469
- On, Off
444-
- Operation modes (auto, low, medium, high)
470+
- Operation modes (Auto, Low, Medium, High)
445471
- Buzzer (on, off)
446472
- Child lock (on, off)
447473
- LED brightness (off, dim, bright)
448474
- Target humidity (30 - 80)
449475
- Clean mode (on, off)
450476
- Dry mode (on, off)
451477
- Motor speed rpm (200 - 2000)
478+
- Attributes (humidifier platform)
479+
480+
Attribute | Description
481+
--- | ---
482+
`humidity` | The current `target_humidity`
483+
`max_humidity` | The maximum settable `target_humidity`
484+
`min_humidity` | The minimum settable `target_humidity`
485+
`available_modes` | A list with the operation modes available
486+
`mode` | the current operation mode selected
487+
452488
- Sensor entities
453-
- `actual_speed`
454-
- `humidity`
455-
- `temperature`
456-
- `water_level`
489+
490+
Sensor | Description
491+
--- | ---
492+
`actual_speed` | The current `motor_speed` measured in (rpm)
493+
`humidity` | The current `humidity` percentage measured
494+
`temperature` | The current `temperature` measured in degrees Celius
495+
`water_level` | The current `water_level` percentage measured
457496

458497
<div class='note'>
459498
Clean mode and Motor speed can only be set when the device is turned on.
@@ -462,15 +501,28 @@ Clean mode and Motor speed can only be set when the device is turned on.
462501
### Air Humidifier CB (zhimi.humidifier.cb1)
463502

464503
- On, Off
465-
- Operation modes (silent, medium, high, auto)
504+
- Operation modes (Silent, Medium, High, Auto)
466505
- Buzzer (on, off)
467506
- Child lock (on, off)
468507
- LED (on, off), LED brightness (bright, dim, off)
469508
- Target humidity (30, 40, 50, 60, 70, 80)
470509
- Dry mode (on, off)
510+
- Attributes (humidifier platform)
511+
512+
Attribute | Description
513+
--- | ---
514+
`humidity` | The current `target_humidity`
515+
`max_humidity` | The maximum settable `target_humidity`
516+
`min_humidity` | The minimum settable `target_humidity`
517+
`available_modes` | A list with the operation modes available
518+
`mode` | the current operation mode selected
519+
471520
- Sensor entities
472-
- `humidity`
473-
- `temperature`
521+
522+
Sensor | Description
523+
--- | ---
524+
`humidity` | The current `humidity` measured
525+
`temperature` | The current `temperature` measured
474526

475527
### Air Fresh VA2
476528

0 commit comments

Comments
 (0)