home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
70.09k stars 29.16k forks source link

Supoort for chuangmi.ir.v2 #67013

Closed zero-coding closed 2 years ago

zero-coding commented 2 years ago

The problem

Unsupported model 'chuangmi.ir.v2' for class 'ChuangmiIr'. It supported in python-miio version 0.5.10 https://github.com/rytilahti/python-miio/commit/b6e53dd16fac77915426e7592e2528b78ef65190

What version of Home Assistant Core has the issue?

core-2022.2.9

What was the last working version of Home Assistant Core?

no

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Xiaomi IR Remote (ChuangmiIr)

Link to integration documentation on our website

https://www.home-assistant.io/integrations/xiaomi_miio/#xiaomi-ir-remote

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Logger: miio.device
Source: /usr/local/lib/python3.9/site-packages/miio/device.py:155
First occurred: 13:23:30 (1 occurrences)
Last logged: 13:23:30

Found an unsupported model 'chuangmi.ir.v2' for class 'ChuangmiIr'. If this is working for you, please open an issue at https://github.com/rytilahti/python-miio/

Additional information

No response

probot-home-assistant[bot] commented 2 years ago

Hey there @rytilahti, @syssi, @starkillerog, @bieniu, 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! (message by CodeOwnersMention)


xiaomi_miio documentation xiaomi_miio source (message by IssueLinks)

rytilahti commented 2 years ago

This is already fixed in dev branch (#66782), so that warning disappears in the next homeassistant release :-)

zero-coding commented 2 years ago

@rytilahti I have update core 2022.3.0b01,it still unsupported model 'chuangmi.ir.v2' for class 'ChuangmiIr'.

rytilahti commented 2 years ago

@zero-coding are you using some custom components depending on python-miio? Could you please verify that the installed python-miio version in your system is 0.5.10?

zero-coding commented 2 years ago

@zero-coding are you using some custom components depending on python-miio? Could you please verify that the installed python-miio version in your system is 0.5.10?

yes, i have install custom components xiaomi miot raw and xiaomi miot auto. I'm using Home Assistant OS, python command dos't work in Terminal & SSH,how can I get pyton-miio version?

rytilahti commented 2 years ago

@zero-coding disable those and try if it works then. The developers need to update their python-miio dependency to the newest release to make that warning disappear.

zero-coding commented 2 years ago

@rytilahti I am try too run a new Dcoker version 2022.3.0b1 ,it doesn't work either.

python-miio version is 0.5.10

bash-5.1# pip show python-miio                                                                                              
Name: python-miio                                                                                                           
Version: 0.5.10                                                                                                             
Summary: Python library for interfacing with Xiaomi smart appliances                                                        
Home-page: https://github.com/rytilahti/python-miio                                                                         
Author: Teemu R                                                                                                             
Author-email: tpr@iki.fi                                                                                                    
License: GPL-3.0-only                                                                                                       
Location: /usr/local/lib/python3.9/site-packages