Closed ReWiG closed 4 days ago
Added in https://github.com/al-one/hass-xiaomi-miot/commit/c3bd723f30e643029413861356f0d1726500ebd6
service: remote.learn_command
data:
entity_id: remote.chuangmi_v2_a0d5
device: 666 # For store ir command, 1 - 1000000
https://github.com/rytilahti/python-miio/blob/master/miio/chuangmi_ir.py#L38-L50
Does it work ?
Does it work ?
No. The error, of course, is gone and does not appear in the log anymore, but no action is taken when the service is called. I am trying to teach the remote a command, but I am not getting it in any way. Maybe I don’t understand how to use it?
Has this been resolved?
I'm trying to use the service and I get the following:
"Failed to call service remote.learn_command. Unknown error"
Thanks
Add in v0.7.21
I connected the "chuangmi.ir.v2" device to my HomeAssistant using the "MIOT" integration. I want to teach him a few commands, for this I try to use the "remote.learn_command" service but it doesn't work and keeps giving an "Unknown error" error. In this case, the following error is recorded in the log: