Skip to content

Xiaomi miio - Xiaomi Smart Air Purifier 4 Lite not working #146852

Open
@vampywiz17

Description

@vampywiz17

The problem

M Xiaomi air purifier (Xiaomi Smart Air Purifier 4 Lite) not working

What version of Home Assistant Core has the issue?

core-2025.6.1

What was the last working version of Home Assistant Core?

core-2025.5

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Xiaomi miio

Link to integration documentation on our website

https://www.home-assistant.io/integrations/xiaomi_miio

Diagnostics information

home-assistant_xiaomi_miio_2025-06-14T20-36-17.029Z.log

Example YAML snippet

Anything in the logs that might be useful for us?

2025-06-14 22:08:42.945 ERROR (SyncWorker_1) [miio.miioprotocol] Got error when receiving: {'code': -9999, 'message': 'user ack timeout'}
2025-06-14 22:09:11.780 ERROR (MainThread) [homeassistant.components.seventeentrack] Unexpected error fetching seventeentrack data
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 382, in _async_refresh
    self.data = await self._async_update_data()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/seventeentrack/coordinator.py", line 61, in _async_update_data
    summary = await self.client.profile.summary(
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        show_archived=self.show_archived
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/usr/local/lib/python3.13/site-packages/pyseventeentrack/profile.py", line 111, in summary
    for kind in summary_resp.get("Json", {}).get("eitem", []):
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'get'
2025-06-14 22:10:13.201 ERROR (SyncWorker_4) [miio.miioprotocol] Got error when receiving: {'code': -9999, 'message': 'user ack timeout'}
2025-06-14 22:10:32.988 ERROR (MainThread) [homeassistant.components.seventeentrack] Unexpected error fetching seventeentrack data
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 382, in _async_refresh
    self.data = await self._async_update_data()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/seventeentrack/coordinator.py", line 61, in _async_update_data
    summary = await self.client.profile.summary(
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        show_archived=self.show_archived
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/usr/local/lib/python3.13/site-packages/pyseventeentrack/profile.py", line 111, in summary
    for kind in summary_resp.get("Json", {}).get("eitem", []):
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'get'

Additional information

No response

Metadata

Metadata

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions