switch:
- platform: xiaomi_miio
name: Xiaomi Mi Smart WiFi Socket 2
host: 192.168.31.124
token: 9de9452d4355526f4e9330058241d445
- platform: chuangmi_ir
host: 192.168.31.6
name: "irremote"
token: 58b014c8dbe6eba8fc1dc437dfa38943
switches:
reciever:
command_on: ''
command_off: ''
I had input the code in configuration.yaml like this, but there something wrong in log when I restart homeassistant. Unable to find component switch.chuangmi_ir, How can I reslove it. thank you!
switch:
name: Xiaomi Mi Smart WiFi Socket 2
host: 192.168.31.124
token: 9de9452d4355526f4e9330058241d445
host: 192.168.31.6
name: "irremote"
token: 58b014c8dbe6eba8fc1dc437dfa38943
switches:
reciever:
command_on: ''
command_off: ''
I had input the code in configuration.yaml like this, but there something wrong in log when I restart homeassistant. Unable to find component switch.chuangmi_ir, How can I reslove it. thank you!