barban-dev / homeassistant-midea-dehumidifier

Home Assistant Custom Integration for EVA II PRO WiFi Smart Dehumidifier appliance by Midea/Inventor.
GNU General Public License v3.0
77 stars 28 forks source link

Support for full water bucket #6

Closed Mace404 closed 3 years ago

Mace404 commented 3 years ago

Hi,

Been using this integration with my Eva II Pro and it works great! I do miss the status in HA of the water bucket when it's full. The NetHome Plus app on my phone gives a status "Bucket is full".

Is it possible to add this status to Home Assistant (as binary_sensor for example)

HVPereira commented 3 years ago

I believe that someone already managed to add this in the home assistant forum

Spirineu commented 3 years ago

Hi @Mace404 I couldn't add it 100% it it says that:

"The following integrations and platforms could not be set up: midea_dehumidifier"

Did you had this issue?

HVPereira commented 3 years ago

You can have this by adding the following:

        self._tankShow = self._client.deviceStatus.tankShow 

in line 439 of humidifier.py and...

   self._tankShow = False

in line 180 of the same file and...

@property
def tank_show(self):
    """Return the current humidity."""
    return self._tankShow

in line 259

barban-dev commented 3 years ago

source code updated. thanks.

barban-dev commented 3 years ago

enhanced inserted in v. 1.0.2