{"id":37760277,"url":"https://github.com/barban-dev/homeassistant-midea-dehumidifier","last_synced_at":"2026-04-03T23:03:07.550Z","repository":{"id":44674001,"uuid":"282688934","full_name":"barban-dev/homeassistant-midea-dehumidifier","owner":"barban-dev","description":"Home Assistant Custom Integration for EVA II PRO WiFi Smart Dehumidifier appliance by Midea/Inventor.","archived":false,"fork":false,"pushed_at":"2026-02-10T10:01:58.000Z","size":208,"stargazers_count":106,"open_issues_count":18,"forks_count":30,"subscribers_count":9,"default_branch":"master","last_synced_at":"2026-02-22T09:47:24.463Z","etag":null,"topics":["comfee","dehumidifier","eva-ii-pro-wifi","home-automation","homeassistant","homeassistant-integration","internet-of-things","inventor","iot","midea","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/barban-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-07-26T16:27:24.000Z","updated_at":"2026-02-10T10:02:02.000Z","dependencies_parsed_at":"2024-09-06T04:44:55.992Z","dependency_job_id":"d3db311a-b790-4c16-a009-f27ac865e786","html_url":"https://github.com/barban-dev/homeassistant-midea-dehumidifier","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/barban-dev/homeassistant-midea-dehumidifier","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barban-dev%2Fhomeassistant-midea-dehumidifier","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barban-dev%2Fhomeassistant-midea-dehumidifier/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barban-dev%2Fhomeassistant-midea-dehumidifier/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barban-dev%2Fhomeassistant-midea-dehumidifier/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/barban-dev","download_url":"https://codeload.github.com/barban-dev/homeassistant-midea-dehumidifier/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barban-dev%2Fhomeassistant-midea-dehumidifier/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31381009,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-03T21:40:47.592Z","status":"ssl_error","status_checked_at":"2026-04-03T21:40:05.436Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["comfee","dehumidifier","eva-ii-pro-wifi","home-automation","homeassistant","homeassistant-integration","internet-of-things","inventor","iot","midea","python"],"created_at":"2026-01-16T14:36:07.571Z","updated_at":"2026-04-03T23:03:07.542Z","avatar_url":"https://github.com/barban-dev.png","language":"Python","funding_links":["https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=5E7ULVFGCGKU2\u0026source=url","https://www.buymeacoffee.com/barban"],"categories":[],"sub_categories":[],"readme":"[\u003cimg src = \"https://github.com/barban-dev/homeassistant-midea-dehumidifier/blob/master/images/ha-logo.png?raw=true\" height = \"100\"\u003e](https://www.home-assistant.io/) \n# Home Assistant Custom Integration for Midea dehumidifiers (Inventor EVA II PRO WiFi / Comfee MDDP-50DEN7 appliances).\n\n[![ViewCount](https://views.whatilearened.today/views/github/barban-dev/midea_inventor_dehumidifier.svg)](http://github.com/barban-dev/homeassistant-midea-dehumidifier)\n[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=5E7ULVFGCGKU2\u0026source=url)\n[![hacs_badge](https://img.shields.io/badge/HACS-Default-orange.svg)](https://github.com/custom-components/hacs)\n\nAuthor: Andrea Barbaresi =2020-2025=\n\nLicence: GPLv3\n\nThis repo contains a Home Assistant custom integration for EVA II PRO WiFi Smart Dehumidifier appliance by Midea/Inventor.\nIt has been reported that the custom integration can work also with **Comfee MDDP-50DEN7** appliance.\n\nThis custom component is based on python library [***midea_inventor_lib***.](https://github.com/barban-dev/midea_inventor_dehumidifier): see library's readme and prerequisites to be able to control your device on Home Assistant.\n\nYou can buy Midea/Inventor/Comfee smart dehumidifier appliances (WiFi version) on Amazon sites (the links below contain my referral code):\n### Amazon USA\n* [Midea Cube 20 pint](https://amzn.to/3z6iA46)\n* [Midea Cube 35 pint](https://amzn.to/4gdUpBn)\n* [Midea Cube 50 pint](https://amzn.to/3Mz4HP6)\n* [Midea Cube 50 pint w pump](https://amzn.to/4e6FA1I)\n* [Midea EasyDry 22 pint](https://amzn.to/3AUMDwo)\n* [Midea EasyDry 35 pint](https://amzn.to/3B0hF5H)\n* [Midea EasyDry 50 pint](https://amzn.to/4dPwvKS)\n* [Midea EasyDry 50 pint w pump](https://amzn.to/3TiVhuN)\n* [Midea EasyDry 50 pint w pump wifi upd](https://amzn.to/3z4lnee)\n\n### Amazon UK\n* [Inventor 20L Eva](https://amzn.to/4rGoY7S)\n* [Comfee 10L](https://amzn.to/3XbAiLG)\n* [Comfee 10L w HEPA filter](https://amzn.to/3X1Blh6)\n* [Comfee 12L](https://amzn.to/3X8fx3p)\n* [Comfee 12L w HEPA filter](https://amzn.to/3Z1RHZM)\n* [Comfee 16L](https://amzn.to/3X7tte6)\n* [Comfee 20L](https://amzn.to/477QwK8)\n  \n### Amazon IT\n* [Midea FRESH DRY 10L](https://amzn.to/3AFEviX)\n* [Midea FRESH DRY 12L](https://amzn.to/3TbaY7c)\n* [Midea FRESH DRY 20L (DE plug)](https://amzn.to/478z0pk)\n* [Midea FRESH DRY 20L](https://amzn.to/3MqOHhY)\n* [Inventor Eva II PRO WiFi on Amazon.it](https://amzn.to/2RsIQMx)\n* [Comfee MDDP-50DEN7 on Amazon.it](https://amzn.to/3iuBX9D)\n  \n### Amazon DE\n* [Midea DF-20DEN7-WF](https://amzn.to/3MAep3v)\n* [Midea DF-20DEN7-WF](https://amzn.to/3TaMn2t)\n* [Midea Cube 20L](https://amzn.to/4e7ER0o)\n* [Midea Quiet 12L](https://amzn.to/478iEgo)\n* [Midea Quiet 20L](https://amzn.to/3ANpfkb)\n* [Midea Fesh Dry 10L](https://amzn.to/4cNUFUL)\n* [Midea Fesh Dry 12L](https://amzn.to/478HlJE)\n* [Comfeee MDDF-16DEN7-WF 16L](https://amzn.to/4a9jr3U)\n* [Comfeee MDDF-20DEN7-WF 20L](https://amzn.to/4kvixCe)\n* [Comfeee CDDAE-30DEN7-QA3 30L](https://amzn.to/4ajOLLV) \n* [Comfeee Easy Dry 16L](https://amzn.to/4dL3DU2)\n* [Comfeee Easy Dry 20L](https://amzn.to/3z5gbXt)\n    \n### Amazon ES\n* [Midea Cube 20L](https://amzn.to/3zdecQN)\n* [Midea MDDF-20DEN7 20L](https://amzn.to/3T8qIrO)\n* [Midea MDDF-20DEN7 50L](https://amzn.to/4e8TQqD)\n* [Midea 12L](https://amzn.to/3ANqIHd)\n* [Midea 20L](https://amzn.to/4761JuZ)\n* [Midea 1500 pies](https://amzn.to/3Teer4T)\n* [Comfee 10L](https://amzn.to/4g7skM2)\n* [Comfee 12L](https://amzn.to/4e4pzcL)\n* [Comfee 20L](https://amzn.to/4gbXBxF)\n* [Comfee 20L new 2024 version](https://amzn.to/4dLaWeG)\n* [Comfee Easy Dry 16L new 2024 version](https://amzn.to/3z32ubu)\n* [Comfee Easy Dry 50L new 2024 version](https://amzn.to/3TbTjMT)\n  \n### Amazon FR\n* [Midea Cube 12L](https://amzn.to/478xHqa)\n* [Midea Cube 20L 80m2](https://amzn.to/3X86lfh)\n* [Midea Cube 20L 40m2](https://amzn.to/4g51YKL)\n* [Midea 12L](https://amzn.to/4gaVDgI)\n* [Midea 20L](https://amzn.to/3AVHwM6)\n* [Midea 50L](https://amzn.to/3AMkK9D)\n* [Midea ‎MAD22C1AWS](https://amzn.to/3XapltH)\n* [Midea Fresh Dry 10L w HEPA filter](https://amzn.to/4cM4jY5)\n* [Comfee 12L](https://amzn.to/3z1Urf0)\n* [Comfee 20L](https://amzn.to/3AJaPBM)\n* [Comfee 50L](https://amzn.to/47bQpNQ)\n* [Comfee MDDN-10DEN7 10L](https://amzn.to/4dHVKig)\n* [Comfee Easy Dry 12L](https://amzn.to/3Z2ten7)\n* [Comfee MDDF-20DEN7 20L](https://amzn.to/3Tdyxwp)\n* [Comfee MDDPE-30DEN7 30L](https://amzn.to/4dKjceV)\n  \n## Installation instruction\n\n### HACS [![hacs_badge](https://img.shields.io/badge/HACS-Default-orange.svg)](https://github.com/custom-components/hacs)\n1. Update HomeAssistant to version 0.96.0 or newer\n2. In HACS Store, search for [***barban-dev/midea_dehumidifier***]\n3. Install the custom integration\n4. Activate midea_dehumidifier custom integration on your HA's configuration yaml file (see instructions below)\n\n### Manual\n1. Update HomeAssistant to version 0.96.0 or newer\n2. Clone this repo\n3. Copy the `custom_components/midea_dehumidifier` folder into your HA's `custom_components` folder\n4. Activate midea_dehumidifier custom integration on your HA's configuration yaml file (see instructions below)\n\n\n## Activate midea_dehumidifier custom integrations\n\nAdd the following section in your ``configuration.yaml`` \u0026 restart HA (use the same username and password of your INVmate II App):\n```\nmidea_dehumidifier:\n  username: user@example.com\n  password: passwordExample\n```\nAs usual, you can hide your secret password by means of ``!secret`` notation by specifing it in ``secrets.yaml``\n\nAlternatively, if you prefer, ``sha256password`` parameter can be used instead of the ``password`` one to specify password's sha-256 hash\n```\nmidea_dehumi:\n  username: user@example.com\n  sha256password: cf76d55503cdee3....\n```\n\nIf everything is ok, you will find the following two new entities in your HA dashboard:\n\n* **humidifier.midea_dehumidifier_*[Device_ID]***\n* **sensor.midea_dehumidifier_*[Device_ID]*_humidity**\n\nBy means of the humidifier entity, you can control your appliance whereas the sensor reports the detected current humidity on your environment.\n\n## Lovelace card for midea_dehumidifier entity\n\nAdd the following part of code to have a lovelace card representing your device and able to control all its features (change \"12345678901234\" with your device's ID):\n\nconfiguration.yaml\n```\ninput_select:\n  dehumidifier_fan_mode:\n    name: \"Fan Mode\"\n    options:\n      - Silent\n      - Medium\n      - High\n    icon: \"mdi:animation-outline\"\n  dehumidifier_modes:\n    name: \"Modes\"\n    options:\n      - Target_humidity\n      - Continuous\n      - Smart\n      - Dryer\n    icon: \"mdi:animation-outline\"\n\nsensor:\n  - platform: template\n    sensors:\n      midea_current_humidity:\n        friendly_name: \"midea_current_humidity\"\n        value_template: \"{{ state_attr('humidifier.midea_dehumidifier_12345678901234', 'current_humidity') }}\"\n        unit_of_measurement: \"%\"\n      midea_target_humidity:\n        friendly_name: \"midea_target_humidity\"\n        value_template: \"{{ state_attr('humidifier.midea_dehumidifier_12345678901234', 'humidity') }}\"\n        unit_of_measurement: \"%\"\n```\n\nautomations.yaml\n```\n- alias: input_select.dehumidifier_fan_mode change\n  trigger:\n    entity_id: input_select.dehumidifier_fan_mode\n    platform: state\n  action:\n    service: midea_dehumidifier.set_fan_speed\n    data_template:\n      entity_id: humidifier.midea_dehumidifier_12345678901234\n      fan_speed: '{{ states.input_select.dehumidifier_fan_mode.state }}'\n###\n- alias: MideaDehumidifier fan speed change\n  trigger:\n    entity_id: humidifier.midea_dehumidifier_12345678901234\n    platform: state\n  action:\n    service: input_select.select_option\n    data_template:\n      entity_id: input_select.dehumidifier_fan_mode\n      option: '{{ states.humidifier.midea_dehumidifier_12345678901234.attributes.fan_speed_mode }}'\n###\n- alias: Set input_select.dehumidifier_fan_mode options to 'High' when state of device change to Dryer\n  trigger:\n    platform: template\n    value_template: \"{% if is_state('input_select.dehumidifier_modes', 'Dryer') %}true{% endif %}\"\n  action:\n    service: input_select.set_options\n    data_template:\n      entity_id: input_select.dehumidifier_fan_mode\n      options: \n        - 'High'\n- alias: Revert back input_select.dehumidifier_fan_mode options when state of device change to not Dryer\n  trigger:\n    platform: template\n    value_template: \"{% if not is_state('input_select.dehumidifier_modes', 'Dryer') %}true{% endif %}\"\n  action:\n    service: input_select.set_options\n    data_template:\n      entity_id: input_select.dehumidifier_fan_mode\n      options:\n        - 'Silent'\n        - 'medium'\n        - 'High'\n######\n- alias: input_select.dehumidifier_modes change\n  trigger:\n    entity_id: input_select.dehumidifier_modes\n    platform: state\n  action:\n    service: midea_dehumidifier.set_mode\n    data_template:\n      entity_id: humidifier.midea_dehumidifier_12345678901234\n      mode: '{{ states.input_select.dehumidifier_modes.state }}'\n###\n- alias: MideaDehumidifier mode change\n  trigger:\n    entity_id: humidifier.midea_dehumidifier_12345678901234\n    platform: state\n  action:\n    service: input_select.select_option\n    data_template:\n      entity_id: input_select.dehumidifier_modes\n      option: '{{ states.humidifier.midea_dehumidifier_12345678901234.attributes.mode }}'\n```\n\n\n\n## Installation Troubleshooting\n\nAfter installation, final result should look similar to this:\n```\n\\\\\u003cha_ip_address\u003e\n    └── config\n        ├── custom_components\n        │   └── midea_dehumidifier\n        │       ├── __init__.py\n        │       ├── humidifier.py\n        │       ├── manifest.json\n        │       ├── sensor.py\n        │       └── services.yaml\n        └── deps\n            └── lib\n                └── python3.6\n                    └── site-packages\n                        └── midea_inventor_lib\n                            └── libfiles...\n```\n\nIf you cannot find the midea_dehumidifier entity on HA, check the logs generated by HA to track the issue.\nIn order to set DEBUG level for midea_dehumidifier, add the following in your HA's configuration yaml:\n```\nlogger:\n  default: info\n  logs:\n    custom_components.midea_dehumidifier: debug\n    custom_components.humidifier.midea_dehumidifier: debug\n    custom_components.sensor.midea_dehumidifier: debug\n```\n\nCopy ``/midea_inventor_lib`` folder on ``\\deps\\lib\\python3.6\\site-packages\\`` of your HA's configuration shared folder.\n\n\n\n\nDonations\n---------\nIf this project helps you to reduce time to develop your code, you can make me a donation.\n\n[![paypal](https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=5E7ULVFGCGKU2\u0026source=url)\n[![coffe](https://www.buymeacoffee.com/assets/img/custom_images/black_img.png)](https://www.buymeacoffee.com/barban)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbarban-dev%2Fhomeassistant-midea-dehumidifier","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbarban-dev%2Fhomeassistant-midea-dehumidifier","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbarban-dev%2Fhomeassistant-midea-dehumidifier/lists"}