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

Xiaomi MIIO cannot be loaded in 2022.11.1 #81711

Closed
slydiman opened this issue Nov 7, 2022 · 3 comments
Closed

Xiaomi MIIO cannot be loaded in 2022.11.1 #81711

slydiman opened this issue Nov 7, 2022 · 3 comments

Comments

@slydiman
Copy link
Contributor

slydiman commented Nov 7, 2022

The problem

Xiaomi MIIO integration does not work at all with supervised HA after update to 2022.11.1.
Please update the miio package.

Logger: homeassistant.setup
Source: setup.py:192

Setup failed for xiaomi_miio: Unable to import component: cannot import name 'ROCKROBO_S7_MAXV' from 'miio.vacuum' (/usr/local/lib/python3.10/site-packages/miio/vacuum.py)

Logger: homeassistant.config_entries
Source: config_entries.py:809

Error occurred loading configuration flow for integration xiaomi_miio: cannot import name 'ROCKROBO_S7_MAXV' from 'miio.vacuum' (/usr/local/lib/python3.10/site-packages/miio/vacuum.py)

Note I have no ROCKROBO_S7_MAXV and do not use it.
I have few chuangmi.plug.v3, zhimi.humidifier.v1, zhimi.humidifier.ca4, rockrobo.vacuum.v1 - they do not work anymorw.

What version of Home Assistant Core has the issue?

2022.11.1

What was the last working version of Home Assistant Core?

2022.10

What type of installation are you running?

Home Assistant Supervised

Integration causing the issue

Xiaomi MIIO

Link to integration documentation on our website

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

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

Supervisor 2022.10.2
Frontend 20221102.1 - latest

@home-assistant
Copy link

home-assistant bot commented Nov 7, 2022

Hey there @rytilahti, @syssi, @starkillerOG, mind taking a look at this issue as it has been labeled with an integration (xiaomi_miio) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of xiaomi_miio can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Change the title of the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign xiaomi_miio Removes the current integration label and assignees on the issue, add the integration domain after the command.

(message by CodeOwnersMention)


xiaomi_miio documentation
xiaomi_miio source
(message by IssueLinks)

@starkillerOG
Copy link
Contributor

@slydiman you probably have a custom integration using python-miio that pined it to a old version, please update or disable those custom components such that the latest python-miio version is beeing uses.

@slydiman
Copy link
Contributor Author

slydiman commented Nov 7, 2022

Right. I forget to check the component health_pot.
I have updated python-miio==0.5.10 to python-miio>=0.5.10 in manifest.json and the problem is gone.

@slydiman slydiman closed this as completed Nov 7, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Dec 7, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants