Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HA 2021.3.3 logs 'NoneType' is not iterable ERROR #19

Open
stalakerob opened this issue Mar 14, 2021 · 2 comments
Open

HA 2021.3.3 logs 'NoneType' is not iterable ERROR #19

stalakerob opened this issue Mar 14, 2021 · 2 comments

Comments

@stalakerob
Copy link

The following error is logged when using Home Assistant 2021.3.3 and the most recent version of midea dehumidifier custom component:

home-assistant | Traceback (most recent call last): home-assistant | File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 277, in async_update_ha_state home-assistant | await self.async_device_update() home-assistant | File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 473, in async_device_update home-assistant | raise exc home-assistant | File "/config/custom_components/midea_dehumidifier/humidifier.py", line 402, in async_update home-assistant | res = await self.hass.async_add_executor_job(self._client.get_device_status, self._device['id']) home-assistant | File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run home-assistant | result = self.fn(*self.args, **self.kwargs) home-assistant | File "/usr/local/lib/python3.8/site-packages/midea_inventor_lib/midea_client.py", line 203, in get_device_status home-assistant | decodedReplyStr = self.appliance_transparent_send(deviceId, dataStr) home-assistant | File "/usr/local/lib/python3.8/site-packages/midea_inventor_lib/midea_client.py", line 553, in appliance_transparent_send home-assistant | if not "reply" in result: home-assistant | TypeError: argument of type 'NoneType' is not iterable

@shudack
Copy link

shudack commented Apr 6, 2021

I have the same output with HA 2021.3.4

@robertolamm
Copy link

Also here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants