core: Error while setting up xiaomi_miio platform for vacuum

The problem

So after updating to the latest beta 2021.11.0b0 my s5 max isnt getting setup anymore.

What version of Home Assistant Core has the issue?

2021.11.0b0

What was the last working version of Home Assistant Core?

2021.10.6

What type of installation are you running?

Home Assistant Container

Integration causing the issue

vacuum

Link to integration documentation on our website

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

Example YAML snippet

No response

Anything in the logs that might be useful for us?

[homeassistant.components.vacuum] Error while setting up xiaomi_miio platform for vacuum
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 249, in _async_setup_platform
    await asyncio.shield(task)
  File "/usr/src/homeassistant/homeassistant/components/xiaomi_miio/vacuum.py", line 110, in async_setup_entry
    hass.data[DOMAIN][config_entry.entry_id][KEY_DEVICE],
KeyError: '54512bfa9457aca0c51ee3b92bb10313'

Additional information

No response

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Reactions: 5
  • Comments: 18 (9 by maintainers)

Commits related to this issue

Most upvoted comments

@OGKevin Yup, 2021.11.0b1 fixed it. Now its just the https://github.com/home-assistant/core/issues/57474 error messages! Thanks!

Unsupported device found! Please create an issue at https://github.com/syssi/xiaomi_airpurifier/issues and provide the following data: roborock.vacuum.s4. Seems to be similar to the S5 issue though 😉

acked, looking.

Tagging @OGKevin as well, as this is a regression probably caused by https://github.com/home-assistant/core/pull/54990