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
72.22k stars 30.24k forks source link

Support for chuangmi.ir.v2 #73427

Closed ReWiG closed 1 year ago

ReWiG 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 This device is already supported by the python-miio library, but when you try to add it to home assistant, you get an error that the device model is unknown. I think it's worth adding support for this device

What version of Home Assistant Core has the issue?

2022.6.5

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Core

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?

No response

Additional information

No response

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

xiaomi_miio documentation xiaomi_miio source (message by IssueLinks)

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)

chertvl commented 2 years ago

This model works great with YAML configuration about 2 years for me:

remote:
  - platform: xiaomi_miio
    host: 192.168.1.XX
    token: 'xxx'
    slot: 1
    timeout: 30
    hidden: false

Error 'model unknown' only when I try add this device with GUI. It will be great to add GUI-entry for that model.

issue-triage-workflows[bot] commented 1 year ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.