Xiaomi Wifi - smart plug & IR remote config issues

Hi all,

It’s my second configuration within Home assistant, and I encounter some issues to add my Xiaomi wifi smart plug, and my Xiaomi wifi Ir Remote.

I get both token easily with an android phone, and now i’m trying to add switches into my Home assistant.

I double checked my token is exactly 32 digits, and if my ip address are the right one, and everything’s good, but nothing showed up in HA, did I miss something or make something wrong during the configuration ?

Blockquote

# switch - Xiaomi Smart Plug 3680w chuangmi.plug.v2 chuangmi.plug.hmi206
  - platform: xiaomi_miio
    host: 192.168.0.23
    token: xxxxxxxx (32digits)
    name: Xiaomi Smart Plus 3680w
#     model: chuangmi.plug.v2
# switch - Xiaomi Infrared remote  chuangmi.remote.v2
remote:
  - platform: xiaomi_miio
    host: 192.168.0.14
    token: xxxxxxxx (32digits)
    name: Xiaomi Infrared Remote
    slot: 1
    timeout: 30
#     commands:

Blockquote

Thank you for your help.

Hi all,

I think I partially find out what I missed, it seems xiaomi_miio is a custom component, and need some files to copy on HA config folder.

I copy this config/custom components/switch/services.yaml & also
config/custom components/xiaomi_miio/init.py & switch.py

But still nothing show up on HA
Thanks to all

Hello, same issue here, it seems a problem with the new models. Is it possible to solve it?