Any Support for Midea A/C?

Actually I’ve just found this fork which seems to fix some of the changes introduced on the climate integration:

I’ve not yet been able to check if it works, will let you know as soon as I test it.

1 Like

:wave: that’s my fork :slight_smile:

It’s updated for the climate-1.0 changes in hass 0.96.

I seem to have a stable workaround for the login/session timeout issue, you can even use the app or another instance of homeassistant and it will recover.

I had to stop it from asking the state of the device as every time that call happened it would turn on my AC and set it to fan only. Not sure how to solve that as of yet.
As a workaround I am restoring state from home-assistant, so if you restart hass, the device should keep its state. If you only change the state from home-assistant, everything should be good.

Will probably package it up into HACS when I get some more time.

2 Likes

This fan only issue is what I had to workaround.
I guess it didn’t happen for every AC unit with this library though?
Could add an option to query status or restore it I guess, if there’s demand for that?

Hey there,

I’ve managed to install the component, it finds the device from cloud but with some default values (i.e. Fan, Off, 17C). If I try to change anything, it comes back to default value. In the log it shows that response was never received.

Any ideas, how I could improve situation?

Thanks,
G.

Hi,
I’ve been trying to install Midea for a few days following instructions on https://github.com/andersonshatch/midea-ac-py.

Unfortunately, without success.
I am getting the following error:

2019-07-30 16:49:10 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/entity_platform.py”, line 365, in _async_add_entity
await entity.async_update_ha_state()
File “/srv/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/entity.py”, line 226, in async_update_ha_state
self._async_write_ha_state()
File “/srv/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/entity.py”, line 249, in _async_write_ha_state
state = self.state
File “/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/climate/ init .py”, line 155, in state
return self.hvac_mode
File “/home/homeassistant/.homeassistant/custom_components/climate/climate.py”, line 207, in hvac_mode
self._device.operational_mode = ac.operational_mode_enum[self._old_state.state]
File “/usr/local/lib/python3.7/enum.py”, line 349, in getitem
return cls. member_map [name]
KeyError: ‘off’

When I checking the configuration everything is ok
homeassistant@hassbian:/home/pi $ hass --script check_config

I will just add that Midea installed from this site (https://pypi.org/project/midea/) works very well.

Thanks for the help

I’ve got the same error. No clue either.

Hi,
Everything looks fine, but I can’t see on/off button! It is a thermostat card. What is the problem?

I solved it (with a facebook community help, thx to Laszlo!)
My Hassio version is 0.95.4
I need to use this version of midea ac:


Copy setup.py and midea.py to /custom_components/midea directory. Rename midea.py to climate.py and after change the first rows:

“”
A climate platform that adds support for Midea air conditioning units.

For more details about this platform, please refer to the documentation
https://github.com/NeoAcheron/midea-ac-py

This is still early work in progress
“”"
import logging

import voluptuous as vol

import homeassistant.helpers.config_validation as cv
from homeassistant.components.climate import ClimateDevice, PLATFORM_SCHEMA
from homeassistant.components.climate.const import (
SUPPORT_TARGET_TEMPERATURE, SUPPORT_TARGET_TEMPERATURE_HIGH, SUPPORT_TARGET_TEMPERATURE_LOW,
SUPPORT_AWAY_MODE, SUPPORT_FAN_MODE, SUPPORT_OPERATION_MODE, SUPPORT_SWING_MODE,
SUPPORT_ON_OFF)
from homeassistant.const import CONF_USERNAME, CONF_PASSWORD, TEMP_CELSIUS, TEMP_FAHRENHEIT, ATTR_TEMPERATURE
from homeassistant.util import Throttle
from datetime import timedelta

REQUIREMENTS = [‘midea==0.1.7’, ‘pycryptodome==3.7.0’]
VERSION = ‘0.1.7’

The idea of packaging this for HACS makes me very happy!

WOW! You’ve already added it to HACS!

I’ve installed and have it communicating!

1 Like

Yep, it’s in the HACS store now :slight_smile:
Few fixes added for restore state bugs.

2 Likes

Working very nicely with air conditioner from HTW that also uses midea cloud. Installed and configured through HACS, really, thanks a lot, years without being able to control my AC through home assistant.

2 Likes

Hey Josh,

Even with latest version from HACS, it’s not working. Changing any parameter of entity, agfter few moments goes back to default. And log shows this:

Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/core.py", line 1260, in _execute_service
    await handler.func(service_call)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 210, in handle_service
    self._platforms.values(), func, call, service_name, required_features
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 334, in entity_service_call
    future.result()  # pop exception if have
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 356, in _handle_service_platform_call
    await getattr(entity, func)(**data)
  File "/config/custom_components/midea/climate.py", line 270, in async_set_hvac_mode
    await self.apply_changes()
  File "/config/custom_components/midea/climate.py", line 97, in apply_changes
    await self.hass.async_add_executor_job(self._device.apply)
  File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/local/lib/python3.7/site-packages/midea/device.py", line 168, in apply
    data = self._cloud_service.appliance_transparent_send(self.id, data)
  File "/usr/local/lib/python3.7/site-packages/midea/cloud.py", line 173, in appliance_transparent_send
    'applianceId': id
  File "/usr/local/lib/python3.7/site-packages/midea/cloud.py", line 93, in api_request
    return self.api_request(endpoint, args)
  File "/usr/local/lib/python3.7/site-packages/midea/cloud.py", line 93, in api_request
    return self.api_request(endpoint, args)
  File "/usr/local/lib/python3.7/site-packages/midea/cloud.py", line 95, in api_request
    raise RecursionError()
RecursionError

Any ideas what could be the issue and how I could help you to help me?

Cheers,
Giedrius

This is fantastic. I love that it works with HACS. I now have both my Danby Air Conditioners (portable and window mount) working with this without any problems. The Danby ACs are just basically Midea rebranded for Canada I suppose. Couldn’t be happier with this fork

3 Likes

Hmm… do state updates work even? Like if you use the remote and wait >60 seconds, does HASS reflect that?
Probably best to move to a github issue with your full log file

Thank you! This latest version is working reliably for me.

My only small issue is that when I restart HASS I get a large spike in the temperatures. This changes the scaling of the graph making it less readable.

For others wanting to use it with Hass.io, I needed to install the Custom deps deployment addon with the following configuration:

{
  "pypi": [
    "midea-andersonshatch",
    "pycryptodome"
  ],
  "apk": []
}

Nope. It just shows this:
image
I even tried rpress’ method of downloading dependencies for Hass.io, the same:

Update for climate.midea_18691697713435 fails
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 249, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 417, in async_device_update
    await self.async_update()
  File "/config/custom_components/midea/climate.py", line 110, in async_update
    await self.hass.async_add_executor_job(self._device.refresh)
  File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/local/lib/python3.7/site-packages/midea/device.py", line 146, in refresh
    data = self._cloud_service.appliance_transparent_send(self.id, data)
  File "/usr/local/lib/python3.7/site-packages/midea/cloud.py", line 173, in appliance_transparent_send
    'applianceId': id
  File "/usr/local/lib/python3.7/site-packages/midea/cloud.py", line 93, in api_request
    return self.api_request(endpoint, args)
  File "/usr/local/lib/python3.7/site-packages/midea/cloud.py", line 93, in api_request
    return self.api_request(endpoint, args)
  File "/usr/local/lib/python3.7/site-packages/midea/cloud.py", line 95, in api_request
    raise RecursionError()
RecursionError

I’m using app_key from original repository, should I use something else?

Strange… if your credentials were wrong you would not even get a device in the first place so I don’t think those are at fault.
Can you turn on debug for the Midea component, so the response codes are logged too? Config yaml for that is like this:

logger:
  default: info   
  logs:    
    midea: debug

Here you go…


2019-08-15 17:17:19 DEBUG (MainThread) [midea.cloud] Restarting session: '3004' - 'value is illegal.'
2019-08-15 17:17:20 DEBUG (MainThread) [midea.cloud] Retrying API call: 'homegroup/list/get'
2019-08-15 17:17:20 DEBUG (MainThread) [midea.cloud] Device list: [{'des': '', 'activeStatus': '1', 'onlineStatus': '1', 'name': 'kondicionierius', 'modelNumber': '8', 'id': '18691697713435', 'sn': '998be09af5bf4908f64518aa4c2f8e95485614d9be0eca3a9ff103bcce618595bb0284b010c2b0528159aredacted', 'type': '0xAC'}]

2019-08-15 17:18:22 DEBUG (SyncWorker_2) [midea.cloud] Sending to 18691697713435: 5a5a01115700200000000000000000000e031214c679000000050a00000000000000000002000000aa1eac00000000000302408100ff03ff00300000000000000000000003bb8100000000000000000000000000000000
2019-08-15 17:18:32 WARNING (MainThread) [homeassistant.helpers.entity] Update of climate.midea_18691697713435 is taking over 10 seconds
2019-08-15 17:18:32 DEBUG (SyncWorker_2) [midea.cloud] Error ignored: '3176' - 'The asyn reply does not exist '
2019-08-15 17:18:32 DEBUG (SyncWorker_2) [midea.cloud] Retrying API call: 'appliance/transparent/send'
2019-08-15 17:18:42 DEBUG (SyncWorker_2) [midea.cloud] Error ignored: '3176' - 'The asyn reply does not exist '
2019-08-15 17:18:42 DEBUG (SyncWorker_2) [midea.cloud] Retrying API call: 'appliance/transparent/send'
2019-08-15 17:18:53 DEBUG (SyncWorker_2) [midea.cloud] Error ignored: '3176' - 'The asyn reply does not exist '
2019-08-15 17:18:53 DEBUG (SyncWorker_2) [midea.cloud] Retrying API call: 'appliance/transparent/send'
2019-08-15 17:18:53 ERROR (MainThread) [homeassistant.helpers.entity] Update for climate.midea_18691697713435 fails
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 249, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 417, in async_device_update
    await self.async_update()
  File "/config/custom_components/midea/climate.py", line 111, in async_update
    await self.hass.async_add_executor_job(self._device.refresh)
  File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/config/deps/lib/python3.7/site-packages/midea/device.py", line 146, in refresh
    data = self._cloud_service.appliance_transparent_send(self.id, data)
  File "/config/deps/lib/python3.7/site-packages/midea/cloud.py", line 173, in appliance_transparent_send
    'applianceId': id
  File "/config/deps/lib/python3.7/site-packages/midea/cloud.py", line 93, in api_request
    return self.api_request(endpoint, args)
  File "/config/deps/lib/python3.7/site-packages/midea/cloud.py", line 93, in api_request
    return self.api_request(endpoint, args)
  File "/config/deps/lib/python3.7/site-packages/midea/cloud.py", line 95, in api_request
    raise RecursionError()
RecursionError
2019-08-15 17:19:00 DEBUG (SyncWorker_27) [midea.cloud] Sending to 18691697713435: 5a5a01115700200000000000000000000e031214c679000000050a00000000000000000002000000aa1eac000000000003024081b16603ff00300000000000000000000003bb6900000000000000000000000000000000

2019-08-15 17:19:10 DEBUG (SyncWorker_27) [midea.cloud] Error ignored: '3176' - 'The asyn reply does not exist '
2019-08-15 17:19:10 DEBUG (SyncWorker_27) [midea.cloud] Retrying API call: 'appliance/transparent/send'
2019-08-15 17:19:10 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/core.py", line 1260, in _execute_service
    await handler.func(service_call)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 210, in handle_service
    self._platforms.values(), func, call, service_name, required_features
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 334, in entity_service_call
    future.result()  # pop exception if have
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 356, in _handle_service_platform_call
    await getattr(entity, func)(**data)
  File "/config/custom_components/midea/climate.py", line 266, in async_set_hvac_mode
    await self.apply_changes()
  File "/config/custom_components/midea/climate.py", line 98, in apply_changes
    await self.hass.async_add_executor_job(self._device.apply)
  File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/config/deps/lib/python3.7/site-packages/midea/device.py", line 168, in apply
    data = self._cloud_service.appliance_transparent_send(self.id, data)
  File "/config/deps/lib/python3.7/site-packages/midea/cloud.py", line 173, in appliance_transparent_send
    'applianceId': id
  File "/config/deps/lib/python3.7/site-packages/midea/cloud.py", line 95, in api_request
    raise RecursionError()
RecursionError
2019-08-15 17:19:23 DEBUG (SyncWorker_1) [midea.cloud] Sending to 18691697713435: 5a5a01115700200000000000000000000e031214c679000000050a00000000000000000002000000aa1eac000000000003024081b16603ff00300000000000000000000003bb6900000000000000000000000000000000
2019-08-15 17:19:25 DEBUG (SyncWorker_21) [midea.cloud] Sending to 18691697713435: 5a5a01115700200000000000000000000e031214c679000000050a00000000000000000002000000aa1eac000000000003024081b76603ff00300000000000000000000003bb6300000000000000000000000000000000
2019-08-15 17:19:27 DEBUG (SyncWorker_39) [midea.cloud] Sending to 18691697713435: 5a5a01115700200000000000000000000e031214c679000000050a00000000000000000002000000aa1eac000000000003024081576603ff00300000000000000000000003bbc300000000000000000000000000000000
2019-08-15 17:19:33 WARNING (MainThread) [homeassistant.helpers.entity] Update of climate.midea_18691697713435 is taking over 10 seconds
2019-08-15 17:19:33 DEBUG (SyncWorker_1) [midea.cloud] Error ignored: '3176' - 'The asyn reply does not exist '
2019-08-15 17:19:33 DEBUG (SyncWorker_1) [midea.cloud] Retrying API call: 'appliance/transparent/send'
2019-08-15 17:19:33 ERROR (MainThread) [homeassistant.helpers.entity] Update for climate.midea_18691697713435 fails
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 249, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 417, in async_device_update
    await self.async_update()
  File "/config/custom_components/midea/climate.py", line 107, in async_update
    await self.hass.async_add_executor_job(self._device.apply)
  File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/config/deps/lib/python3.7/site-packages/midea/device.py", line 168, in apply
    data = self._cloud_service.appliance_transparent_send(self.id, data)
  File "/config/deps/lib/python3.7/site-packages/midea/cloud.py", line 173, in appliance_transparent_send
    'applianceId': id
  File "/config/deps/lib/python3.7/site-packages/midea/cloud.py", line 95, in api_request
    raise RecursionError()
RecursionError
2019-08-15 17:19:34 DEBUG (SyncWorker_28) [midea.cloud] Sending to 18691697713435: 5a5a01115700200000000000000000000e031214c679000000050a00000000000000000002000000aa1eac000000000003024081576603ff003f0000000000000000000003a0cf00000000000000000000000000000000
2019-08-15 17:19:43 DEBUG (SyncWorker_21) [midea.cloud] Error ignored: '3176' - 'The asyn reply does not exist '
2019-08-15 17:19:43 DEBUG (SyncWorker_21) [midea.cloud] Retrying API call: 'appliance/transparent/send'
2019-08-15 17:19:43 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/core.py", line 1260, in _execute_service
    await handler.func(service_call)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 210, in handle_service
    self._platforms.values(), func, call, service_name, required_features
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 334, in entity_service_call
    future.result()  # pop exception if have
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 358, in _handle_service_platform_call
    await func(entity, data)
  File "/usr/src/homeassistant/homeassistant/components/climate/__init__.py", line 530, in async_service_temperature_set
    await entity.async_set_temperature(**kwargs)
  File "/config/custom_components/midea/climate.py", line 240, in async_set_temperature
    await self.apply_changes()
  File "/config/custom_components/midea/climate.py", line 98, in apply_changes
    await self.hass.async_add_executor_job(self._device.apply)
  File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/config/deps/lib/python3.7/site-packages/midea/device.py", line 168, in apply
    data = self._cloud_service.appliance_transparent_send(self.id, data)
  File "/config/deps/lib/python3.7/site-packages/midea/cloud.py", line 173, in appliance_transparent_send
    'applianceId': id
  File "/config/deps/lib/python3.7/site-packages/midea/cloud.py", line 95, in api_request
    raise RecursionError()
RecursionError
2019-08-15 17:19:53 DEBUG (SyncWorker_39) [midea.cloud] Error ignored: '3176' - 'The asyn reply does not exist '
2019-08-15 17:19:53 DEBUG (SyncWorker_39) [midea.cloud] Retrying API call: 'appliance/transparent/send'
2019-08-15 17:19:53 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/core.py", line 1260, in _execute_service
    await handler.func(service_call)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 210, in handle_service
    self._platforms.values(), func, call, service_name, required_features
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 334, in entity_service_call
    future.result()  # pop exception if have
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 356, in _handle_service_platform_call
    await getattr(entity, func)(**data)
  File "/config/custom_components/midea/climate.py", line 266, in async_set_hvac_mode
    await self.apply_changes()
  File "/config/custom_components/midea/climate.py", line 98, in apply_changes
    await self.hass.async_add_executor_job(self._device.apply)
  File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/config/deps/lib/python3.7/site-packages/midea/device.py", line 168, in apply
    data = self._cloud_service.appliance_transparent_send(self.id, data)
  File "/config/deps/lib/python3.7/site-packages/midea/cloud.py", line 173, in appliance_transparent_send
    'applianceId': id
  File "/config/deps/lib/python3.7/site-packages/midea/cloud.py", line 95, in api_request
    raise RecursionError()
RecursionError
2019-08-15 17:20:04 DEBUG (SyncWorker_28) [midea.cloud] Error ignored: '3176' - 'The asyn reply does not exist '
2019-08-15 17:20:04 DEBUG (SyncWorker_28) [midea.cloud] Retrying API call: 'appliance/transparent/send'
2019-08-15 17:20:04 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/core.py", line 1260, in _execute_service
    await handler.func(service_call)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 210, in handle_service
    self._platforms.values(), func, call, service_name, required_features
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 334, in entity_service_call
    future.result()  # pop exception if have
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 356, in _handle_service_platform_call
    await getattr(entity, func)(**data)
  File "/config/custom_components/midea/climate.py", line 247, in async_set_swing_mode
    await self.apply_changes()
  File "/config/custom_components/midea/climate.py", line 98, in apply_changes
    await self.hass.async_add_executor_job(self._device.apply)
  File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/config/deps/lib/python3.7/site-packages/midea/device.py", line 168, in apply
    data = self._cloud_service.appliance_transparent_send(self.id, data)
  File "/config/deps/lib/python3.7/site-packages/midea/cloud.py", line 173, in appliance_transparent_send
    'applianceId': id
  File "/config/deps/lib/python3.7/site-packages/midea/cloud.py", line 95, in api_request
    raise RecursionError()
RecursionError
2019-08-15 17:20:24 DEBUG (SyncWorker_11) [midea.cloud] Sending to 18691697713435: 5a5a01115700200000000000000000000e031214c679000000050a00000000000000000002000000aa1eac000000000003024081576603ff003f0000000000000000000003a0cf00000000000000000000000000000000

2019-08-15 17:20:34 WARNING (MainThread) [homeassistant.helpers.entity] Update of climate.midea_18691697713435 is taking over 10 seconds
2019-08-15 17:20:34 DEBUG (SyncWorker_11) [midea.cloud] Error ignored: '3176' - 'The asyn reply does not exist '
2019-08-15 17:20:34 DEBUG (SyncWorker_11) [midea.cloud] Retrying API call: 'appliance/transparent/send'
2019-08-15 17:20:34 ERROR (MainThread) [homeassistant.helpers.entity] Update for climate.midea_18691697713435 fails
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 249, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 417, in async_device_update
    await self.async_update()
  File "/config/custom_components/midea/climate.py", line 107, in async_update
    await self.hass.async_add_executor_job(self._device.apply)
  File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/config/deps/lib/python3.7/site-packages/midea/device.py", line 168, in apply
    data = self._cloud_service.appliance_transparent_send(self.id, data)
  File "/config/deps/lib/python3.7/site-packages/midea/cloud.py", line 173, in appliance_transparent_send
    'applianceId': id
  File "/config/deps/lib/python3.7/site-packages/midea/cloud.py", line 95, in api_request
    raise RecursionError()
RecursionError

2019-08-15 17:21:25 DEBUG (SyncWorker_13) [midea.cloud] Sending to 18691697713435: 5a5a01115700200000000000000000000e031214c679000000050a00000000000000000002000000aa1eac000000000003024081576603ff003f0000000000000000000003a0cf00000000000000000000000000000000
2019-08-15 17:21:35 WARNING (MainThread) [homeassistant.helpers.entity] Update of climate.midea_18691697713435 is taking over 10 seconds
2019-08-15 17:21:35 DEBUG (SyncWorker_13) [midea.cloud] Error ignored: '3176' - 'The asyn reply does not exist '
2019-08-15 17:21:35 DEBUG (SyncWorker_13) [midea.cloud] Retrying API call: 'appliance/transparent/send'
2019-08-15 17:21:35 ERROR (MainThread) [homeassistant.helpers.entity] Update for climate.midea_18691697713435 fails
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 249, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 417, in async_device_update
    await self.async_update()
  File "/config/custom_components/midea/climate.py", line 107, in async_update
    await self.hass.async_add_executor_job(self._device.apply)
  File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/config/deps/lib/python3.7/site-packages/midea/device.py", line 168, in apply
    data = self._cloud_service.appliance_transparent_send(self.id, data)
  File "/config/deps/lib/python3.7/site-packages/midea/cloud.py", line 173, in appliance_transparent_send
    'applianceId': id
  File "/config/deps/lib/python3.7/site-packages/midea/cloud.py", line 95, in api_request
    raise RecursionError()
RecursionError
2019-08-15 17:22:25 DEBUG (SyncWorker_31) [midea.cloud] Sending to 18691697713435: 5a5a01115700200000000000000000000e031214c679000000050a00000000000000000002000000aa1eac000000000003024081576603ff003f0000000000000000000003a0cf00000000000000000000000000000000
2019-08-15 17:22:35 WARNING (MainThread) [homeassistant.helpers.entity] Update of climate.midea_18691697713435 is taking over 10 seconds
2019-08-15 17:22:35 DEBUG (SyncWorker_31) [midea.cloud] Error ignored: '3176' - 'The asyn reply does not exist '
2019-08-15 17:22:35 DEBUG (SyncWorker_31) [midea.cloud] Retrying API call: 'appliance/transparent/send'
2019-08-15 17:22:35 ERROR (MainThread) [homeassistant.helpers.entity] Update for climate.midea_18691697713435 fails
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 249, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 417, in async_device_update
    await self.async_update()
  File "/config/custom_components/midea/climate.py", line 107, in async_update
    await self.hass.async_add_executor_job(self._device.apply)
  File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/config/deps/lib/python3.7/site-packages/midea/device.py", line 168, in apply
    data = self._cloud_service.appliance_transparent_send(self.id, data)
  File "/config/deps/lib/python3.7/site-packages/midea/cloud.py", line 173, in appliance_transparent_send
    'applianceId': id
  File "/config/deps/lib/python3.7/site-packages/midea/cloud.py", line 95, in api_request
    raise RecursionError()
RecursionError

I also occasionally see that same error, but I have not had any actual problems with it.