jdeath / maytag_dryer_homeassistant

MIT License
3 stars 3 forks source link

Maytag Support - Feature Enhancement #7

Open deliverer33 opened 5 days ago

deliverer33 commented 5 days ago

I have a Maytag washer and dryer and when I attempt to add via the HA integration I get no supported appliances found. I’m not sure if I should open a request here or on HA to add support for these two models.

What information can I provide to help get support added? Model numbers below.

lastly, is it possible this integration vs the default HA integration might work?

model numbers:

Washer - MFW7020RW0 Dryer - MED7020RWO

jdeath commented 5 days ago

Definitely use the built in integration if you can. It is much better. It is difficult to add support for your device without your user/password. The issue is there is a field that is probably not supported on your model. You can look in sensor.py and look for lines like this:

self._applianceId = data.get('applianceId')
self._modelNumber = data.get('attributes').get('ModelNumber').get('value')

Basically comment out (with a #) all the lines after that until:

self._state =  UNIT_STATES.get(self._status,self._status)

See if your device shows up. if it does, gradually add lines back until it crashes. You have to do it once for the dryer and once for washer. If it doesn't show up, then they must have changed something and your device will not be supported with this integration.